-
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 #5 from pwei1018/main
Added CI/CD.
- Loading branch information
Showing
24 changed files
with
8,045 additions
and
8,778 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,30 @@ | ||
name: STRR API CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "api/**" | ||
workflow_dispatch: | ||
inputs: | ||
target: | ||
description: "Deploy To" | ||
required: true | ||
type: choice | ||
options: | ||
- dev | ||
- test | ||
- sandbox | ||
- prod | ||
|
||
jobs: | ||
strr-api-cd: | ||
uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main | ||
with: | ||
target: ${{ inputs.target }} | ||
app_name: "strr-api" | ||
working_directory: "./api" | ||
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,20 @@ | ||
name: STRR API CI | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "api/**" | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: ./api | ||
|
||
jobs: | ||
strr-api-ci: | ||
uses: bcgov/bcregistry-sre/.github/workflows/backend-ci.yaml@main | ||
with: | ||
app_name: "strr-api" | ||
working_directory: "./api" | ||
codecov_flag: "strrapi" |
This file was deleted.
Oops, something went wrong.
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,30 @@ | ||
name: STRR UI CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "strr-web/**" | ||
workflow_dispatch: | ||
inputs: | ||
target: | ||
description: "Deploy To" | ||
required: true | ||
type: choice | ||
options: | ||
- dev | ||
- test | ||
- sandbox | ||
- prod | ||
|
||
jobs: | ||
strr-ui-cd: | ||
uses: bcgov/bcregistry-sre/.github/workflows/frontend-cd.yaml@main | ||
with: | ||
target: ${{ inputs.target }} | ||
app_name: "strr-ui" | ||
working_directory: "./strr-web" | ||
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,20 @@ | ||
name: STRR UI CI | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "strr-web/**" | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: ./strr-web | ||
|
||
jobs: | ||
strr-ui-ci: | ||
uses: bcgov/bcregistry-sre/.github/workflows/frontend-ci.yaml@main | ||
with: | ||
app_name: "strr-ui" | ||
working_directory: "./strr-web" | ||
codecov_flag: "strrui" |
Oops, something went wrong.