generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16056 from CDCgov/deployment/2024-10-01
Deployment of 2024-10-01
- Loading branch information
Showing
118 changed files
with
1,340 additions
and
860 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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# action.yml | ||
name: "Build Auth" | ||
description: "Build Auth microservice" | ||
inputs: | ||
version: | ||
description: "Version tag" | ||
required: true | ||
upload-build: | ||
default: true | ||
run-integration-tests: | ||
default: false | ||
run-qc: | ||
default: false | ||
github-token: | ||
default: false | ||
sp-creds: | ||
description: "Azure Service Principal creds" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
# These are for CI and not credentials of any system | ||
- name: Set Environment Variables | ||
working-directory: prime-router | ||
shell: bash | ||
run: | | ||
echo >> $GITHUB_ENV DB_USER='prime' | ||
echo >> $GITHUB_ENV DB_PASSWORD='changeIT!' | ||
- name: Remove unnecessary software | ||
shell: bash | ||
run: | | ||
sudo rm -rf /usr/local/lib/android | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 | ||
with: | ||
java-version: "17" | ||
distribution: "temurin" | ||
cache: "gradle" | ||
|
||
- uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 | ||
|
||
- name: Lint | ||
if: inputs.run-integration-tests == 'true' | ||
run: ./gradlew :auth:ktlintCheck | ||
shell: bash | ||
|
||
- name: Spin up build containers | ||
working-directory: prime-router | ||
shell: bash | ||
run: docker compose -f docker-compose.postgres.yml up -d | ||
|
||
- name: Build auth Package | ||
uses: ./.github/actions/retry | ||
with: | ||
timeout_minutes: 10 | ||
max_attempts: 2 | ||
retry_wait_seconds: 30 | ||
command: | | ||
./gradlew :auth:build -x test | ||
shell: bash | ||
|
||
- name: Cleanup Gradle Cache | ||
if: inputs.run-integration-tests == 'true' | ||
working-directory: prime-router | ||
run: | | ||
rm -f .gradle/caches/modules-2/modules-2.lock | ||
rm -f .gradle/caches/modules-2/gc.properties | ||
shell: bash |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.