From a3ed54e9b4e9e190e14222f81c7dea4b4d76df0c Mon Sep 17 00:00:00 2001 From: Simon Dumas Date: Fri, 9 Aug 2024 10:10:56 +0200 Subject: [PATCH 1/2] Update to Postgres 16.4 --- .../nexus/delta/dependency/PostgresServiceDependencySpec.scala | 2 +- docs/src/main/paradox/docs/delta/api/assets/version.json | 2 +- .../getting-started/running-nexus/docker/docker-compose.yaml | 2 +- .../main/paradox/docs/getting-started/running-nexus/index.md | 2 +- tests/docker/docker-compose.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/dependency/PostgresServiceDependencySpec.scala b/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/dependency/PostgresServiceDependencySpec.scala index 4cf89c31e2..0086ea309e 100644 --- a/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/dependency/PostgresServiceDependencySpec.scala +++ b/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/dependency/PostgresServiceDependencySpec.scala @@ -11,7 +11,7 @@ class PostgresServiceDependencySpec extends CatsEffectSpec with DoobieScalaTestF "fetch its service name and version" in { new PostgresServiceDependency(xas).serviceDescription.accepted shouldEqual - ServiceDescription(Name.unsafe("postgres"), "16.3") + ServiceDescription(Name.unsafe("postgres"), "16.4") } } diff --git a/docs/src/main/paradox/docs/delta/api/assets/version.json b/docs/src/main/paradox/docs/delta/api/assets/version.json index 451674c2ec..bd68c8a079 100644 --- a/docs/src/main/paradox/docs/delta/api/assets/version.json +++ b/docs/src/main/paradox/docs/delta/api/assets/version.json @@ -3,7 +3,7 @@ "delta": "1.10.0", "dependencies": { "blazegraph": "2.1.6-RC", - "postgresql": "16.3", + "postgresql": "16.4", "elasticsearch": "8.14.1", "remoteStorage": "1.10.0" }, diff --git a/docs/src/main/paradox/docs/getting-started/running-nexus/docker/docker-compose.yaml b/docs/src/main/paradox/docs/getting-started/running-nexus/docker/docker-compose.yaml index a9aade7d81..dc198f1793 100644 --- a/docs/src/main/paradox/docs/getting-started/running-nexus/docker/docker-compose.yaml +++ b/docs/src/main/paradox/docs/getting-started/running-nexus/docker/docker-compose.yaml @@ -37,7 +37,7 @@ services: memory: 512M postgres: - image: library/postgres:16.3 + image: library/postgres:16.4 environment: POSTGRES_USER: "postgres" POSTGRES_PASSWORD: "postgres" diff --git a/docs/src/main/paradox/docs/getting-started/running-nexus/index.md b/docs/src/main/paradox/docs/getting-started/running-nexus/index.md index f786ee5a22..fd01a17f55 100644 --- a/docs/src/main/paradox/docs/getting-started/running-nexus/index.md +++ b/docs/src/main/paradox/docs/getting-started/running-nexus/index.md @@ -117,7 +117,7 @@ $ curl http://localhost/v1/version | jq "dependencies": { "blazegraph": "2.1.6-SNAPSHOT", "elasticsearch": "8.14.1", - "postgres": "16.3" + "postgres": "16.4" }, "environment": "dev", "plugins": { diff --git a/tests/docker/docker-compose.yml b/tests/docker/docker-compose.yml index 74b048c22a..4fa043996b 100644 --- a/tests/docker/docker-compose.yml +++ b/tests/docker/docker-compose.yml @@ -137,7 +137,7 @@ services: - ./config:/config postgres: - image: library/postgres:16.3 + image: library/postgres:16.4 ports: - 5432:5432 environment: From a4b557044c3781d5eea466ff5a0ec48f0b51ebf4 Mon Sep 17 00:00:00 2001 From: Simon Dumas Date: Fri, 9 Aug 2024 10:12:36 +0200 Subject: [PATCH 2/2] Update to Postgres 16.4 --- .../bluebrain/nexus/testkit/postgres/PostgresContainer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delta/testkit/src/main/scala/ch/epfl/bluebrain/nexus/testkit/postgres/PostgresContainer.scala b/delta/testkit/src/main/scala/ch/epfl/bluebrain/nexus/testkit/postgres/PostgresContainer.scala index 437d667ccb..d0067d84f7 100644 --- a/delta/testkit/src/main/scala/ch/epfl/bluebrain/nexus/testkit/postgres/PostgresContainer.scala +++ b/delta/testkit/src/main/scala/ch/epfl/bluebrain/nexus/testkit/postgres/PostgresContainer.scala @@ -9,7 +9,7 @@ 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.3")) { + extends GenericContainer[PostgresContainer](DockerImageName.parse("library/postgres:16.4")) { addEnv("POSTGRES_USER", user) addEnv("POSTGRES_PASSWORD", password) addEnv("POSTGRES_DB222", database)