From ed631a4d3bb65bed93816d9e8b004cf988bd21cb Mon Sep 17 00:00:00 2001 From: Aaro Koivukangas Date: Mon, 28 Sep 2026 15:43:15 +0300 Subject: [PATCH] [GithubActions] Install s3cmd in each db step --- .github/workflows/test.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 88979b482..ee7d995c8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -119,6 +119,7 @@ jobs: run: | docker compose --file docker-compose.ci.yml up --detach --quiet-pull sis-updater-worker sleep 30 # wait for sis-updater-worker to start and run migrations + sudo apt update -y && sudo apt install s3cmd -y ./anonyymioodi/manage_test_dbs.sh release sis-db - name: Teardown containers started by compose @@ -158,6 +159,7 @@ jobs: run: | docker compose --file docker-compose.ci.yml up --detach --quiet-pull backend --wait sleep 30 # wait for backend to start and run migrations + sudo apt update -y && sudo apt install s3cmd -y ./anonyymioodi/manage_test_dbs.sh release kone-db - name: Teardown containers started by compose @@ -197,6 +199,7 @@ jobs: run: | docker compose --file docker-compose.ci.yml up --detach --quiet-pull backend --wait sleep 30 # wait for backend to start and run migrations + sudo apt update -y && sudo apt install s3cmd -y ./anonyymioodi/manage_test_dbs.sh release user-db - name: Teardown containers started by compose @@ -270,7 +273,9 @@ jobs: env: ACCESS_KEY: ${{ secrets.s3_access_key }} SECRET_KEY: ${{ secrets.s3_secret_key }} - run: ./anonyymioodi/manage_test_dbs.sh release sis-db + run: | + sudo apt update -y && sudo apt install s3cmd -y + ./anonyymioodi/manage_test_dbs.sh release sis-db - name: Dump logs on failure if: failure()