From 74b45a3df7d49fc5c0c35b8812f50f6a9638568b Mon Sep 17 00:00:00 2001 From: Dan Webb Date: Mon, 4 Nov 2024 09:28:31 +0000 Subject: [PATCH] Update platforms and add copilot-instructions Signed-off-by: Dan Webb --- .github/copilot-instructions.md | 1 + .github/workflows/ci.yml | 39 ++++++++++--------- .markdownlint-cli2.yaml | 2 + test/cookbooks/test/recipes/client_install.rb | 4 +- 4 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000..66a20b8d --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1 @@ +We use Chef Cookstyle to lint our Chef cookbooks. We use Test Kitchen to integration test our cookbooks. Test cookbooks are in the test/cookbooks directory. We keep documentation in README.md and the documentation folder. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4aa8e224..7b5886fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,35 +22,38 @@ jobs: strategy: matrix: os: - - "almalinux-8" + - "almalinux-9" + - "rockylinux-9" + - "oraclelinux-9" - "centos-stream-9" + - "amazonlinux-2" - "debian-11" - "debian-12" - - "rockylinux-8" - - "ubuntu-2004" + - "fedora-latest" - "ubuntu-2204" + - "ubuntu-2404" suite: - - "access-12" - - "access-13" - - "access-14" - "access-15" - - "client-install-12" - - "client-install-13" - - "client-install-14" + - "access-16" + - "access-17" - "client-install-15" - - "extension-12" - - "extension-13" - - "extension-14" + - "client-install-16" + - "client-install-17" - "extension-15" - - "ident-12" - - "ident-13" - - "ident-14" + - "extension-16" + - "extension-17" - "ident-15" + - "ident-16" + - "ident-17" - "initdb-locale-15" - - "server-install-12" - - "server-install-13" - - "server-install-14" + - "initdb-locale-16" + - "initdb-locale-17" + - "repo-15" + - "repo-16" + - "repo-17" - "server-install-15" + - "server-install-16" + - "server-install-17" - "server-install-os" exclude: - os: "centos-7" diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index 6fa8e776..0196ac7b 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -3,3 +3,5 @@ config: line-length: false # MD013 no-duplicate-heading: false # MD024 reference-links-images: false # MD052 +ignores: + - .github/copilot-instructions.md diff --git a/test/cookbooks/test/recipes/client_install.rb b/test/cookbooks/test/recipes/client_install.rb index 7d0a0fa2..37c439b4 100644 --- a/test/cookbooks/test/recipes/client_install.rb +++ b/test/cookbooks/test/recipes/client_install.rb @@ -1,8 +1,6 @@ -# frozen_string_literal: true - # Import PostgreSQL GPG key execute 'import_pgdg_key' do - command 'rpm --import https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG' + command 'rpm --import https://download.postgresql.org/pub/repos/yum/keys/RPM-GPG-KEY-PGDG' not_if 'rpm -q gpg-pubkey-08b40d20-*' end