-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c2e426
commit 4f51a93
Showing
1 changed file
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
{ | ||
|
@@ -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 | ||
|
@@ -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: | ||
|