From 931c14aef6f44194360d7b2c3fd01036d56887a1 Mon Sep 17 00:00:00 2001 From: Claude Dioudonnat Date: Thu, 14 Nov 2024 17:00:13 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F(backend)=20update=20postgres?= =?UTF-8?q?=20to=20version=2016.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upgrade postgres in our CI and compose to version 16.4 to match the next server upgrade. --- .circleci/config.yml | 8 ++++---- .../.circleci/src/jobs/@backend.yml | 2 +- .../docker-compose.yml | 2 +- docker-compose-postgresql.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b61c7447d6..5636a60471 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -357,12 +357,12 @@ jobs: DB_PASSWORD: pass DB_PORT: 5432 # services - - image: cimg/postgres:12.10 + - image: cimg/postgres:16.4 auth: username: $DOCKER_USER password: $DOCKER_PASS environment: - POSTGRES_DB: test_richie + POSTGRES_DB: richie POSTGRES_USER: fun POSTGRES_PASSWORD: pass - image: elasticsearch:7.14.0 @@ -440,12 +440,12 @@ jobs: DB_PASSWORD: pass DB_PORT: 5432 # services - - image: cimg/postgres:12.10 + - image: cimg/postgres:16.4 auth: username: $DOCKER_USER password: $DOCKER_PASS environment: - POSTGRES_DB: test_richie + POSTGRES_DB: richie POSTGRES_USER: fun POSTGRES_PASSWORD: pass - image: fundocker/openshift-elasticsearch:6.6.2 diff --git a/cookiecutter/{{cookiecutter.organization}}-richie-site-factory/.circleci/src/jobs/@backend.yml b/cookiecutter/{{cookiecutter.organization}}-richie-site-factory/.circleci/src/jobs/@backend.yml index 815061e2f8..d22c38fb40 100644 --- a/cookiecutter/{{cookiecutter.organization}}-richie-site-factory/.circleci/src/jobs/@backend.yml +++ b/cookiecutter/{{cookiecutter.organization}}-richie-site-factory/.circleci/src/jobs/@backend.yml @@ -73,7 +73,7 @@ test-back: DB_USER: richie_user DB_PASSWORD: pass DB_PORT: 5432 - - image: cimg/postgres:12.10 + - image: cimg/postgres:16.4 environment: POSTGRES_DB: richie POSTGRES_USER: richie_user diff --git a/cookiecutter/{{cookiecutter.organization}}-richie-site-factory/docker-compose.yml b/cookiecutter/{{cookiecutter.organization}}-richie-site-factory/docker-compose.yml index 7c54919303..0ff8278427 100644 --- a/cookiecutter/{{cookiecutter.organization}}-richie-site-factory/docker-compose.yml +++ b/cookiecutter/{{cookiecutter.organization}}-richie-site-factory/docker-compose.yml @@ -1,6 +1,6 @@ services: db: - image: postgres:12 + image: postgres:16.4 environment: - POSTGRES_DB=richie_${RICHIE_SITE:?} env_file: diff --git a/docker-compose-postgresql.yml b/docker-compose-postgresql.yml index 2e1f46f8c6..45a1db6803 100644 --- a/docker-compose-postgresql.yml +++ b/docker-compose-postgresql.yml @@ -1,6 +1,6 @@ services: postgresql: - image: postgres:12 + image: postgres:16.4 ports: - "5472:5432" env_file: