Skip to content

Commit 0ddf0ce

Browse files
authored
Merge pull request #125 from lagr/default-to-postgres-client-v17
Default to postgres-client-17
2 parents 3d138ab + f3a25e2 commit 0ddf0ce

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

features/src/postgres-client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ service using the official [Postgres docker image](https://hub.docker.com/_/post
1616
## Options
1717
| Options Id | Description | Type | Default Value |
1818
|-----|-----|-----|-----|
19-
| version | The postgres-client version | string | 15 |
19+
| version | The postgres-client version | string | 17 |
2020

2121
## Customizations
2222

features/src/postgres-client/devcontainer-feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"id": "postgres-client",
3-
"version": "1.1.3",
3+
"version": "1.2.0",
44
"name": "Postgres Client",
55
"description": "Installs needed client-side dependencies for Rails apps using Postgres.",
66
"documentationURL": "https://github.com/rails/devcontainer/tree/main/features/src/postgres-client",
77
"licenseURL": "https://github.com/rails/devcontainer/blob/main/LICENSE.md",
88
"options": {
99
"version": {
1010
"type": "string",
11-
"default": "15",
11+
"default": "17",
1212
"description": "The postgres client version to be installed"
1313
}
1414
}

features/src/postgres-client/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -e
33

4-
export POSTGRES_CLIENT_VERSION="${VERSION:-"15"}"
4+
export POSTGRES_CLIENT_VERSION="${VERSION:-"17"}"
55

66
apt-get update -qq
77

features/test/postgres-client/scenarios.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"version_16": {
2+
"version_18": {
33
"image": "mcr.microsoft.com/devcontainers/base:2-trixie",
44
"features": {
55
"postgres-client": {
6-
"version": "16"
6+
"version": "18"
77
}
88
}
99
},
10-
"version_14": {
10+
"version_16": {
1111
"image": "mcr.microsoft.com/devcontainers/base:2-trixie",
1212
"features": {
1313
"postgres-client": {
14-
"version": "14"
14+
"version": "16"
1515
}
1616
}
1717
}

features/test/postgres-client/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
source dev-container-features-test-lib
66

77
check "PostgreSQL client is installed" bash -c "psql --version"
8-
check "PostgreSQL version is 15" bash -c "psql --version | grep -q 'psql (PostgreSQL) 15'"
8+
check "PostgreSQL version is 17" bash -c "psql --version | grep -q 'psql (PostgreSQL) 17'"
99
check "libpq-dev is installed" bash -c "dpkg -l | grep libpq-dev"
1010

1111
reportResults

features/test/postgres-client/version_14.sh renamed to features/test/postgres-client/version_18.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
source dev-container-features-test-lib
66

77
check "PostgreSQL client is installed" bash -c "psql --version"
8-
check "PostgreSQL version is 14" bash -c "psql --version | grep -q 'psql (PostgreSQL) 14'"
8+
check "PostgreSQL version is 18" bash -c "psql --version | grep -q 'psql (PostgreSQL) 18'"
99
check "libpq-dev is installed" bash -c "dpkg -l | grep libpq-dev"
1010

1111
reportResults

0 commit comments

Comments
 (0)