generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
166 changed files
with
6,882 additions
and
2,815 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,15 @@ | ||
name: "TST/STG - Deploy release candidate" | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
staging: | ||
uses: ./.github/workflows/remote-cd-trigger-template.yml | ||
with: | ||
WORKFLOW: aks-deployment-pstatus-graphql-stg.yml | ||
REF: '${{ github.ref_name }}' # Resolves to the tag that is pushed | ||
secrets: inherit |
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,21 @@ | ||
name: "CI - GraphQL Service" | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- pstatus-graphql-ktor/** | ||
|
||
defaults: | ||
run: | ||
working-directory: pstatus-graphql-ktor/ | ||
|
||
jobs: | ||
unit-test: | ||
name: Unit Test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run Gradle Test | ||
run: ./gradlew test |
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,23 @@ | ||
name: DEV - GraphQL Service | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
REF: | ||
description: Branch from CDCgov/data-exchange-processing-status that you want to deploy to the dev environment. | ||
default: main | ||
required: true | ||
type: string | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- pstatus-graphql-ktor/** | ||
|
||
jobs: | ||
remote-trigger: | ||
uses: ./.github/workflows/remote-cd-trigger-template.yml | ||
with: | ||
WORKFLOW: aks-deployment-pstatus-graphql-dev-shared.yml | ||
REF: ${{ inputs.REF }} | ||
secrets: inherit |
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,45 @@ | ||
name: Template - Remote trigger to CDCent | ||
on: | ||
workflow_call: | ||
inputs: | ||
WORKFLOW: | ||
type: string | ||
description: "Workflow yml file that should be triggered." | ||
required: true | ||
REF: | ||
type: string | ||
description: "Git tag or branch the workflow is running on." | ||
required: false | ||
default: 'main' | ||
|
||
jobs: | ||
invoke-cd-trigger: | ||
runs-on: ubuntu-latest | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
steps: | ||
- name: Checkout Gen GitHub App Access Token | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: kave/github-app-token | ||
- name: Generate Token | ||
run: | | ||
sudo gem install jwt | ||
echo "${{ secrets.CDC_COE_BOTFREY_PEM }}" > app-private-key.pem | ||
chmod +x ./get-github-app-access-token.sh; | ||
. ./get-github-app-access-token.sh; | ||
echo "access_token=${TOKEN}" >> "$GITHUB_ENV" | ||
- name: Manually Dispatch Remote CICD Trigger Event | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ env.access_token }} | ||
script: | | ||
await github.rest.actions.createWorkflowDispatch({ | ||
owner: 'cdcent', | ||
repo: 'data-exchange-pstatus-devops', | ||
workflow_id: '${{ inputs.WORKFLOW }}', | ||
ref: 'main', | ||
inputs: { | ||
REF: '${{ inputs.REF }}' | ||
} | ||
}) |
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
4 changes: 2 additions & 2 deletions
4
processing-status-api-function-app/gradle/wrapper/gradle-wrapper.properties
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Fri Jun 07 10:39:15 EDT 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
networkTimeout=10000 | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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.