Skip to content

Commit

Permalink
Added a sleep 60s step
Browse files Browse the repository at this point in the history
  • Loading branch information
agile-josiah committed Nov 3, 2023
1 parent 8c2e426 commit 4f51a93
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/svc-bip-api-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,13 @@ jobs:
- name: 'Checkout source code'
uses: actions/checkout@v3

- name: "Checkout abd-vro-dev-secrets repo"
uses: actions/checkout@v3
with:
# Checkout using a PAT so that we can access the internal repo
token: ${{ secrets.ACCESS_TOKEN_CHECKOUT_INTERNAL_REPO }}
repository: 'department-of-veterans-affairs/abd-vro-dev-secrets'
path: "${{ env.VRO_DEV_SECRETS_FOLDER }}"

- name: 'Build the images'
uses: ./.github/actions/build-images

- name: 'Start the containers'
run: |
source scripts/setenv.sh
# create basic auth token for RabbitMQ and export to github environment
BASIC_AUTH=$(echo "${RABBITMQ_USERNAME}:${RABBITMQ_PASSWORD}" | base64)
{
Expand All @@ -42,7 +36,6 @@ jobs:
echo "RABBITMQ_BASIC_AUTH=${BASIC_AUTH}"
} >> "$GITHUB_ENV"
source scripts/setenv.sh
export -p | sed 's/declare -x //'
./gradlew :dockerComposeUp
Expand All @@ -58,6 +51,10 @@ jobs:
./gradlew :domain-xample:dockerComposeUp
./gradlew :app:dockerComposeUp
- name: 'Wait for containers to start'
run: sleep 60s
shell: bash

- name: 'Wait for RabbitMQ to be ready'
uses: indiesdev/[email protected]
with:
Expand Down

0 comments on commit 4f51a93

Please sign in to comment.