From 9a57fd4d5d470722f492dabcc1584c7badf909a7 Mon Sep 17 00:00:00 2001 From: Kalana Dananjaya Wijethunga <31897588+KalanaDananjaya@users.noreply.github.com> Date: Mon, 6 May 2024 11:01:18 +0200 Subject: [PATCH] fix --- .github/workflows/verify-containers.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify-containers.yaml b/.github/workflows/verify-containers.yaml index 1f460d0..bf1818b 100644 --- a/.github/workflows/verify-containers.yaml +++ b/.github/workflows/verify-containers.yaml @@ -63,10 +63,20 @@ jobs: export WORKER_NAME=shared_volume_worker1_1 " >> ${{ github.workspace }}/../jalien-setup/bash/config/config.sh + # For test image setup - name: Run jalien-setup bash scripts + if: ${{ github.event.inputs.image_tag }} == 'test' run: | cd ${{ github.workspace }}/../jalien-setup/bash - ./start.sh --shared --${{ github.event.inputs.image_tag }} + ./start.sh --shared --test + + # For production image setup + - name: Run jalien-setup bash scripts + if: ${{ github.event.inputs.image_tag }} == 'latest' + run: | + cd ${{ github.workspace }}/../jalien-setup/bash + ./start.sh --shared --latest + - name: Clone test-suite run: | cd ${{ github.workspace }} @@ -79,7 +89,7 @@ jobs: echo " export SHARED_VOLUME_PATH=$(pwd)/SHARED_VOLUME export JALIEN_SETUP_PATH=$(pwd)/jalien - export JALIEN_SETUP_PATH=$(pwd)/jalien-setup + export JALIEN_PATH=$(pwd)/jalien-setup export CONTAINER_NAME_CE=shared_volume_JCentral-dev-CE_1 export CONTAINER_NAME_CENTRAL=shared_volume_JCentral-dev_1 export CONTAINER_NAME_SCHEDD=shared_volume_schedd_1 @@ -93,12 +103,14 @@ jobs: " >> ${{ github.workspace }}/../test-suite/.env cat ${{ github.workspace }}/../test-suite/.env + # For test image setup - name: Run test-suite for container specific tests if: ${{ github.event.inputs.image_tag }} == 'test' run: | cd ${{ github.workspace }}/../test-suite ./index.sh --container-only --test + # For production image setup - name: Run test-suite for all tests if: ${{ github.event.inputs.image_tag }} == 'latest' run: |