-
Notifications
You must be signed in to change notification settings - Fork 13
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 #409 from pwei1018/main
Update CD flows.
- Loading branch information
Showing
9 changed files
with
167 additions
and
26 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: STRR Examiner UI CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- feature* | ||
- hotfix* | ||
- release* | ||
paths: | ||
- "strr-examiner-web/**" | ||
workflow_dispatch: | ||
inputs: | ||
target: | ||
description: "Deploy To" | ||
required: true | ||
type: choice | ||
options: | ||
- "dev" | ||
- "test" | ||
- "sandbox" | ||
- "prod" | ||
redeploy: | ||
description: "Redeploy Application" | ||
required: true | ||
type: choice | ||
options: | ||
- "false" | ||
- "true" | ||
|
||
jobs: | ||
examiner-ui-cd: | ||
uses: bcgov/bcregistry-sre/.github/workflows/frontend-cd.yaml@main | ||
with: | ||
target: ${{ inputs.target }} | ||
app_name: "strr-examiner-ui" | ||
working_directory: "./strr-examiner-web" | ||
node_version: 20 | ||
redeploy: ${{ inputs.redeploy }} | ||
secrets: | ||
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }} | ||
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} |
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: STRR Examiner UI CI | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "strr-examiner-web/**" | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: ./strr-examiner-web | ||
|
||
jobs: | ||
examiner-ui-ci: | ||
uses: bcgov/bcregistry-sre/.github/workflows/frontend-ci.yaml@main | ||
with: | ||
app_name: "strr-examiner-ui" | ||
working_directory: "./strr-examiner-web" | ||
codecov_flag: "strrexaminerui" | ||
node_version: 20 |
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