From 06c74d0af53fe99a28df14734587a7ab3ab4627e Mon Sep 17 00:00:00 2001 From: Federica Agostini Date: Fri, 8 Mar 2024 12:36:48 +0100 Subject: [PATCH] Restore deploying db and voms since one test runs against two VOs. --- .github/workflows/iam-dev.ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/iam-dev.ci.yml b/.github/workflows/iam-dev.ci.yml index 19c2aa7..3bcb1ff 100644 --- a/.github/workflows/iam-dev.ci.yml +++ b/.github/workflows/iam-dev.ci.yml @@ -27,10 +27,17 @@ jobs: working-directory: compose - name: Start compose - run: docker-compose --file docker-compose.ci.yml up --detach testsuite + run: docker-compose --file docker-compose.ci.yml up --detach db voms testsuite working-directory: compose env: TS_IMAGE: italiangrid/voms-testsuite:centos${{ matrix.client }} + VOMS_IMAGE: italiangrid/voms:centos7-stable + + - name: Deploy db and voms + run: | + docker-compose --file docker-compose.ci.yml exec -T --workdir /scripts db bash /scripts/populate-db.sh + docker-compose --file docker-compose.ci.yml exec -T --workdir /scripts voms bash /scripts/setup-and-start-voms.sh + working-directory: compose - name: Create artifacts dir if: ${{ always() }}