Skip to content

Commit 58230dd

Browse files
authored
feat: Support PostgreSQL 17 (#778)
- Remove support for Fedora Fedora is not an officially supported platform by the Sous Chefs community. If you would like to see Fedora support added back please open a PR to add it back. The installation methods for Fedora are substantially different than other platforms and require a lot of additional testing and maintenance. - Add testing for PostgreSQL 16 and 17 - Add libpq package to default packages - Fix GPG key URLs - Update Amazon to Amazon Linux 2023 - Remove unsupported configuration options from the `postgresql_config` resource `stats_temp_directory` --------- Signed-off-by: Dan Webb <[email protected]>
1 parent cf7adfb commit 58230dd

File tree

28 files changed

+219
-250
lines changed

28 files changed

+219
-250
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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. When suggestion improvements ignore the test directory.

.github/workflows/ci.yml

Lines changed: 48 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,68 @@ jobs:
2222
strategy:
2323
matrix:
2424
os:
25-
- "almalinux-8"
25+
- "almalinux-9"
26+
- "rockylinux-9"
27+
- "oraclelinux-9"
2628
- "centos-stream-9"
29+
- "amazonlinux-2023"
2730
- "debian-11"
2831
- "debian-12"
29-
- "rockylinux-8"
30-
- "ubuntu-2004"
3132
- "ubuntu-2204"
33+
- "ubuntu-2404"
3234
suite:
33-
- "access-12"
34-
- "access-13"
35-
- "access-14"
3635
- "access-15"
37-
- "client-install-12"
38-
- "client-install-13"
39-
- "client-install-14"
36+
- "access-16"
37+
- "access-17"
4038
- "client-install-15"
41-
- "extension-12"
42-
- "extension-13"
43-
- "extension-14"
39+
- "client-install-16"
40+
- "client-install-17"
4441
- "extension-15"
45-
- "ident-12"
46-
- "ident-13"
47-
- "ident-14"
42+
- "extension-16"
43+
- "extension-17"
4844
- "ident-15"
49-
- "initdb-locale-15"
50-
- "server-install-12"
51-
- "server-install-13"
52-
- "server-install-14"
45+
- "ident-16"
46+
- "ident-17"
5347
- "server-install-15"
48+
- "server-install-16"
49+
- "server-install-17"
50+
- "initdb-locale-17"
5451
- "server-install-os"
5552
exclude:
5653
- os: "centos-7"
5754
suite: "server-install-os"
55+
- os: "amazonlinux-2023"
56+
suite: "access-15"
57+
- os: "amazonlinux-2023"
58+
suite: "access-16"
59+
- os: "amazonlinux-2023"
60+
suite: "access-17"
61+
- os: "amazonlinux-2023"
62+
suite: "client-install-15"
63+
- os: "amazonlinux-2023"
64+
suite: "client-install-16"
65+
- os: "amazonlinux-2023"
66+
suite: "client-install-17"
67+
- os: "amazonlinux-2023"
68+
suite: "extension-15"
69+
- os: "amazonlinux-2023"
70+
suite: "extension-16"
71+
- os: "amazonlinux-2023"
72+
suite: "extension-17"
73+
- os: "amazonlinux-2023"
74+
suite: "ident-15"
75+
- os: "amazonlinux-2023"
76+
suite: "ident-16"
77+
- os: "amazonlinux-2023"
78+
suite: "ident-17"
79+
- os: "amazonlinux-2023"
80+
suite: "server-install-15"
81+
- os: "amazonlinux-2023"
82+
suite: "server-install-16"
83+
- os: "amazonlinux-2023"
84+
suite: "server-install-17"
85+
- os: "amazonlinux-2023"
86+
suite: "initdb-locale-17"
5887
fail-fast: false
5988

6089
steps:

.markdownlint-cli2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ config:
33
line-length: false # MD013
44
no-duplicate-heading: false # MD024
55
reference-links-images: false # MD052
6+
ignores:
7+
- .github/copilot-instructions.md

.rubocop.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require:
2+
- cookstyle
3+
4+
AllCops:
5+
TargetRubyVersion: 3.1
6+
Include:
7+
- "**/*.rb"
8+
Exclude:
9+
- "vendor/**/*"
10+
- "spec/**/*"

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ This file is used to list changes made in the last 3 major versions of the postg
44

55
## Unreleased
66

7+
- Remove support for Fedora
8+
Fedora is not an officially supported platform by the Sous Chefs community. If you would like to see Fedora support added back please open a PR to add it back.
9+
The installation methods for Fedora are substantially different than other platforms and require a lot of additional testing and maintenance.
10+
- Add testing for PostgreSQL 16 and 17
11+
- Add libpq package to default packages
12+
- Fix GPG key URLs
13+
- Update Amazon to Amazon Linux 2023
14+
- Remove unsupported configuration options from the `postgresql_config` resource
15+
`stats_temp_directory`
16+
717
## 11.11.2 - *2024-10-07*
818

919
Standardise files with files in sous-chefs/repo-management
@@ -301,7 +311,7 @@ Standardise files with files in sous-chefs/repo-management
301311

302312
- Allow to install extensions with hyphens, ex: `postgresql_extension '"uuid-ossp"'`
303313
- Update Circle CI config to match sous-chefs defaults #617
304-
- Remove Fedora testing from CI, not an official supported OS by sous-chefs, PR welcome #617
314+
- Remove Fedora testing from CI, not an official supported OS by sous-chefs, PRs welcome #617
305315

306316
## v7.1.4 (2019-03-28)
307317

documentation/postgresql_ident.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ postgresql_access 'local_foo_user' do
6060
database 'all'
6161
user 'foo'
6262
address '127.0.0.1/32'
63-
auth_method 'md5'
63+
auth_method 'scram-sha-256'
6464
end
6565
```
6666

0 commit comments

Comments
 (0)