Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support PostgreSQL 17 #778

Merged
merged 8 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -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. When suggestion improvements ignore the test directory.
67 changes: 48 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,39 +22,68 @@ jobs:
strategy:
matrix:
os:
- "almalinux-8"
- "almalinux-9"
- "rockylinux-9"
- "oraclelinux-9"
- "centos-stream-9"
- "amazonlinux-2023"
- "debian-11"
- "debian-12"
- "rockylinux-8"
- "ubuntu-2004"
- "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"
- "initdb-locale-15"
- "server-install-12"
- "server-install-13"
- "server-install-14"
- "ident-16"
- "ident-17"
- "server-install-15"
- "server-install-16"
- "server-install-17"
- "initdb-locale-17"
- "server-install-os"
exclude:
- os: "centos-7"
suite: "server-install-os"
- os: "amazonlinux-2023"
suite: "access-15"
- os: "amazonlinux-2023"
suite: "access-16"
- os: "amazonlinux-2023"
suite: "access-17"
- os: "amazonlinux-2023"
suite: "client-install-15"
- os: "amazonlinux-2023"
suite: "client-install-16"
- os: "amazonlinux-2023"
suite: "client-install-17"
- os: "amazonlinux-2023"
suite: "extension-15"
- os: "amazonlinux-2023"
suite: "extension-16"
- os: "amazonlinux-2023"
suite: "extension-17"
- os: "amazonlinux-2023"
suite: "ident-15"
- os: "amazonlinux-2023"
suite: "ident-16"
- os: "amazonlinux-2023"
suite: "ident-17"
- os: "amazonlinux-2023"
suite: "server-install-15"
- os: "amazonlinux-2023"
suite: "server-install-16"
- os: "amazonlinux-2023"
suite: "server-install-17"
- os: "amazonlinux-2023"
suite: "initdb-locale-17"
fail-fast: false

steps:
Expand Down
2 changes: 2 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ config:
line-length: false # MD013
no-duplicate-heading: false # MD024
reference-links-images: false # MD052
ignores:
- .github/copilot-instructions.md
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require:
- cookstyle

AllCops:
TargetRubyVersion: 3.1
Include:
- "**/*.rb"
Exclude:
- "vendor/**/*"
- "spec/**/*"
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ This file is used to list changes made in the last 3 major versions of the postg

## Unreleased

- 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`

## 11.11.2 - *2024-10-07*

Standardise files with files in sous-chefs/repo-management
Expand Down Expand Up @@ -301,7 +311,7 @@ Standardise files with files in sous-chefs/repo-management

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

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

Expand Down
2 changes: 1 addition & 1 deletion documentation/postgresql_ident.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ postgresql_access 'local_foo_user' do
database 'all'
user 'foo'
address '127.0.0.1/32'
auth_method 'md5'
auth_method 'scram-sha-256'
end
```

Expand Down
Loading