From 8bd7f98bbcc817f7c60a316b4f5b8f9d8d1193e2 Mon Sep 17 00:00:00 2001 From: Mikko Nieminen Date: Fri, 6 Sep 2024 09:14:59 +0200 Subject: [PATCH] add temporary irods postgres server (#1922) --- .github/workflows/build.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c0fe75f..8ba9c272 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,19 @@ jobs: --health-retries 10 ports: - 5432:5432 + # TODO: Remove temporary iRODS postgres server once on iRODS 4.3 + postgres-irods: + image: postgres:11 + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + options: >- + --health-cmd "pg_isready -U postgres" + --health-interval 10s + --health-timeout 5s + --health-retries 10 + ports: + - 5433:5433 redis: image: redis options: >- @@ -39,7 +52,8 @@ jobs: env: IRODS_AUTHENTICATION_SCHEME: native IRODS_DEFAULT_HASH_SCHEME: MD5 - IRODS_ICAT_DBSERVER: postgres + IRODS_ICAT_DBSERVER: postgres-irods # TODO: Use main postgres on 4.3 + IRODS_ICAT_DBPORT: 5433 # TODO: Use main postgres on 4.3 IRODS_ICAT_DBUSER: postgres IRODS_ICAT_DBPASS: postgres IRODS_ZONE_NAME: sodarZone