Skip to content

Commit

Permalink
Update to postgres 17.2 (#5247)
Browse files Browse the repository at this point in the history
* Update to Postgres 17.2

---------

Co-authored-by: Simon Dumas <[email protected]>
  • Loading branch information
imsdu and Simon Dumas authored Nov 25, 2024
1 parent 814d8ed commit c35c0a9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PostgresServiceDependencySpec extends CatsEffectSpec with DoobieScalaTestF
"PostgresServiceDependency" should {

"fetch its service name and version" in {
new PostgresServiceDependency(xas).serviceDescription.accepted shouldEqual ServiceDescription("postgres", "16.5")
new PostgresServiceDependency(xas).serviceDescription.accepted shouldEqual ServiceDescription("postgres", "17.2")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import scala.concurrent.duration.DurationInt
import scala.jdk.DurationConverters.ScalaDurationOps

class PostgresContainer(user: String, password: String, database: String)
extends GenericContainer[PostgresContainer](DockerImageName.parse("library/postgres:16.5")) {
extends GenericContainer[PostgresContainer](DockerImageName.parse("library/postgres:17.2")) {
addEnv("POSTGRES_USER", user)
addEnv("POSTGRES_PASSWORD", password)
addEnv("POSTGRES_DB222", database)
addEnv("POSTGRES_DB", database)
addExposedPort(5432)
setWaitStrategy(Wait.forLogMessage(".*database system is ready to accept connections.*\\s", 2))
setCommand("postgres", "-c", "fsync=off")
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/paradox/docs/delta/api/assets/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delta": "1.10.0",
"dependencies": {
"blazegraph": "2.1.6-RC-21-jre",
"postgresql": "16.5",
"postgresql": "17.2",
"elasticsearch": "8.16.1"
},
"plugins": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
memory: 512M

postgres:
image: library/postgres:16.5
image: library/postgres:17.2
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/paradox/docs/running-nexus/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ $ curl http://localhost/v1/version | jq
"dependencies": {
"blazegraph": "2.1.6-SNAPSHOT",
"elasticsearch": "8.16.1",
"postgres": "16.5"
"postgres": "17.2"
},
"environment": "dev",
"plugins": {
Expand Down
2 changes: 1 addition & 1 deletion tests/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ services:
- ./config:/config

postgres:
image: library/postgres:16.5
image: library/postgres:17.2
ports:
- 5432:5432
environment:
Expand Down

0 comments on commit c35c0a9

Please sign in to comment.