From 155b157fa7e95a78b4d9a2c46d61a6b234577301 Mon Sep 17 00:00:00 2001 From: josiahjones Date: Fri, 3 Nov 2023 09:58:23 -0700 Subject: [PATCH] Changing compose_profile to bip --- .github/workflows/svc-bip-api-integration-test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/svc-bip-api-integration-test.yml b/.github/workflows/svc-bip-api-integration-test.yml index cb65750815..c88e1aaae8 100644 --- a/.github/workflows/svc-bip-api-integration-test.yml +++ b/.github/workflows/svc-bip-api-integration-test.yml @@ -11,7 +11,7 @@ on: branches: [josiah/bip-integration-test] env: - COMPOSE_PROFILES: 'svc' + COMPOSE_PROFILES: 'bip' VRO_DEV_SECRETS_FOLDER: "${{ github.workspace }}/.cache/abd-vro-dev-secrets" jobs: @@ -44,6 +44,14 @@ jobs: - name: 'Start the containers' run: | + # create basic auth token for RabbitMQ and export to github environment + BASIC_AUTH=$(echo "${RABBITMQ_USERNAME}:${RABBITMQ_PASSWORD}" | base64) + { + echo "RABBITMQ_USERNAME=${RABBITMQ_USERNAME}" + echo "RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}" + echo "RABBITMQ_BASIC_AUTH=${BASIC_AUTH}" + } >> "$GITHUB_ENV" + source scripts/setenv.sh export -p | sed 's/declare -x //'