-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENG-1744] tz-solve build trigger (#149)
- Loading branch information
1 parent
9e9ed93
commit 7e811ff
Showing
2 changed files
with
38 additions
and
18 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,38 @@ | ||
name: tz-solve build trigger | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- staging | ||
paths: | ||
- tz/osemosys/** | ||
- pyproject.toml | ||
- .github/workflows/trigger-tz-solve-build.yml | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
trigger-tz-solve-build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- id: auth | ||
uses: google-github-actions/auth@v2 | ||
with: | ||
credentials_json: ${{ secrets.TZ_SOLVE_SERVICE_ACCOUNT_KEY }} | ||
|
||
- name: Set up Cloud SDK | ||
uses: google-github-actions/setup-gcloud@v2 | ||
with: | ||
version: latest | ||
|
||
- name: Trigger tz-solve build | ||
run: | | ||
gcloud builds triggers run tz-solve-build \ | ||
--region=europe-west2 \ | ||
--branch=main \ | ||
--substitutions=_REF=${{ github.ref_name }} |
This file was deleted.
Oops, something went wrong.