From ddd87c86486d565da94fb5a707d27eb003564f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Cser=C3=A9p?= Date: Mon, 5 Feb 2024 10:36:37 +0100 Subject: [PATCH] Update SHM size of PostgreSQL service for the parse job in the CI. --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59e98d270..7989a3090 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,13 +32,12 @@ jobs: # Provide the password for postgres env: POSTGRES_PASSWORD: postgres - # Set health checks to wait until postgres has started & increase SHM size + # Set health checks to wait until postgres has started options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 - --shm-size=8gb ports: # Maps tcp port 5432 on service container to the host - 5432:5432 @@ -196,21 +195,18 @@ jobs: env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres - # Set health checks to wait until postgres has started + # Set health checks to wait until postgres has started & increase SHM size options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + --shm-size=2gb ports: # Maps tcp port 5432 on service container to the host - 5432:5432 steps: - # Clean up docker images to save space - - name: Clean up docker images - run: docker image prune -a -f - - uses: actions/checkout@v3 - name: Update apt-get