From a6c28df0c76e5646590dd0b1b2b9196bc041bab6 Mon Sep 17 00:00:00 2001 From: dandelany Date: Tue, 3 Sep 2024 16:06:04 -0700 Subject: [PATCH] update postgres 16.2 -> 16.4 in docker compose files, tests and workflows --- .github/workflows/pgcmp.yml | 6 +++--- deployment/docker-compose.yml | 2 +- docker-compose.yml | 2 +- docker/Dockerfile.postgres | 2 +- e2e-tests/docker-compose-many-workers.yml | 2 +- e2e-tests/docker-compose-test.yml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pgcmp.yml b/.github/workflows/pgcmp.yml index 89f181e7d0..8ab6dad09e 100644 --- a/.github/workflows/pgcmp.yml +++ b/.github/workflows/pgcmp.yml @@ -66,7 +66,7 @@ jobs: run: sudo curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash - name: Start Postgres run: | - sed -i 's/postgres:14.8/postgres:16.2/' docker-compose.yml + sed -i 's/postgres:14.8/postgres:16.4/' docker-compose.yml docker compose up -d postgres hasura docker images docker ps -a @@ -251,7 +251,7 @@ jobs: sudo apt update sudo apt -y install postgresql-client-16 - name: Start Postgres - run: docker run -d -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust --name=postgres postgres:16.2 + run: docker run -d -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust --name=postgres postgres:16.4 - name: Sleep for 5 Seconds run: sleep 5s shell: bash @@ -312,7 +312,7 @@ jobs: sudo apt update sudo apt -y install postgresql-client-16 - name: Start Postgres - run: docker run -d -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust --name=postgres postgres:16.2 + run: docker run -d -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust --name=postgres postgres:16.4 - name: Sleep for 5 Seconds run: sleep 5s shell: bash diff --git a/deployment/docker-compose.yml b/deployment/docker-compose.yml index a7800fce5a..deb4cd0d7f 100755 --- a/deployment/docker-compose.yml +++ b/deployment/docker-compose.yml @@ -191,7 +191,7 @@ services: SCHEDULER_DB_PASSWORD: "${SCHEDULER_PASSWORD}" SEQUENCING_DB_USER: "${SEQUENCING_USERNAME}" SEQUENCING_DB_PASSWORD: "${SEQUENCING_PASSWORD}" - image: postgres:16.2 + image: postgres:16.4 ports: ["5432:5432"] restart: always volumes: diff --git a/docker-compose.yml b/docker-compose.yml index 5ec3b53796..7d1bb72f30 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -255,7 +255,7 @@ services: SCHEDULER_DB_PASSWORD: "${SCHEDULER_PASSWORD}" SEQUENCING_DB_USER: "${SEQUENCING_USERNAME}" SEQUENCING_DB_PASSWORD: "${SEQUENCING_PASSWORD}" - image: postgres:16.2 + image: postgres:16.4 ports: ["5432:5432"] restart: always volumes: diff --git a/docker/Dockerfile.postgres b/docker/Dockerfile.postgres index d34e48710b..a7b23dd8e6 100644 --- a/docker/Dockerfile.postgres +++ b/docker/Dockerfile.postgres @@ -1,2 +1,2 @@ -FROM postgres:16.2 +FROM postgres:16.4 COPY deployment/postgres-init-db /docker-entrypoint-initdb.d diff --git a/e2e-tests/docker-compose-many-workers.yml b/e2e-tests/docker-compose-many-workers.yml index 725cf89e45..bade896cae 100644 --- a/e2e-tests/docker-compose-many-workers.yml +++ b/e2e-tests/docker-compose-many-workers.yml @@ -200,7 +200,7 @@ services: SCHEDULER_DB_PASSWORD: "${SCHEDULER_PASSWORD}" SEQUENCING_DB_USER: "${SEQUENCING_USERNAME}" SEQUENCING_DB_PASSWORD: "${SEQUENCING_PASSWORD}" - image: postgres:16.2 + image: postgres:16.4 ports: ["5432:5432"] restart: always volumes: diff --git a/e2e-tests/docker-compose-test.yml b/e2e-tests/docker-compose-test.yml index 6eb0cc408d..0bd560e423 100644 --- a/e2e-tests/docker-compose-test.yml +++ b/e2e-tests/docker-compose-test.yml @@ -245,7 +245,7 @@ services: SCHEDULER_DB_PASSWORD: "${SCHEDULER_PASSWORD}" SEQUENCING_DB_USER: "${SEQUENCING_USERNAME}" SEQUENCING_DB_PASSWORD: "${SEQUENCING_PASSWORD}" - image: postgres:16.2 + image: postgres:16.4 ports: ['5432:5432'] restart: always volumes: