From 2e6a6e4cc992e58336a476a1a47d48164c599d45 Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 8 Apr 2025 12:14:33 -0400 Subject: [PATCH 1/2] Upgrade postgres 15.8 --- .github/workflows/ci.yml | 2 +- docker-compose.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9f581af80..7cb0f97cf3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: # Label used to access the service container db: # Docker Hub image - image: postgres:12.7 + image: postgres:15.8 # Set health checks to wait until postgres has started options: >- --health-cmd pg_isready diff --git a/docker-compose.yml b/docker-compose.yml index df826bc8f9..9e81abbc01 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,11 +20,13 @@ x-environment: services: db: - image: postgres:12.7 + image: postgres:15.8 environment: - POSTGRES_HOST_AUTH_METHOD=trust ports: - "5432" + volumes: + - db-data:/var/lib/postgresql/data redis: image: redis:5.0.8 @@ -127,3 +129,4 @@ services: volumes: opensearch-data1: + db-data: {} From 1d36056fbfc5889d3280d0d1b08fdf5fe27f7f2a Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 9 Apr 2025 11:09:50 -0400 Subject: [PATCH 2/2] actions/cache@v3 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cb0f97cf3..87de6fa29e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: python-version: "3.9.1" - id: cache - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/test_reqirements.txt') }} @@ -118,7 +118,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)" - - uses: actions/cache@v1 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }}