-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gh workflows to use new namespacing
- Loading branch information
Showing
5 changed files
with
13 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ | |
# This workflow will run every 30 mins to hopefully ensure that credentials | ||
# don't expire even if this script errors. | ||
name: refresh-test-credentials | ||
env: | ||
PR_TOOLS_REPO: ${{ github.repository }} | ||
|
||
# For now this only runs on a schedule once a day. Once we have made some of the | ||
# plugin workflows more incremental we will run this on _every_ commit to main | ||
|
@@ -54,15 +56,16 @@ jobs: | |
run: | | ||
cd ops/external-prs && | ||
bash scripts/rotate-service-account.sh [email protected] dummy.json && | ||
pnpm tools refresh-gcp-credentials --secret=false ${{ github.repository }} testing dummy.json GOOGLE_TEST_DUMMY_CREDENTIALS_JSON | ||
pnpm tools oso refresh-gcp-credentials --secret=false testing dummy.json GOOGLE_TEST_DUMMY_CREDENTIALS_JSON | ||
# These credentials are intended to be secret | ||
- name: Refresh credentials for the bigquery-admin user on the external-prs-app environment | ||
shell: bash | ||
run: | | ||
cd ops/external-prs && | ||
bash scripts/rotate-service-account.sh [email protected] bigquery-admin.json && | ||
pnpm tools refresh-gcp-credentials ${{ github.repository }} external-prs-app bigquery-admin.json GOOGLE_BQ_ADMIN_CREDENTIALS_JSON | ||
pnpm tools oso refresh-gcp-credentials external-prs-app bigquery-admin.json GOOGLE_BQ_ADMIN_CREDENTIALS_JSON | ||
rebuild-docker-public-vars: | ||
name: rebuild-docker-public-vars | ||
|
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