Skip to content

Commit

Permalink
feat: PLT-573 remove set-up gcloud from workflows (#55)
Browse files Browse the repository at this point in the history
* Update ts_open-pr.yml

* Gcloud is now in the runner itself
  • Loading branch information
robgutsopedra authored Dec 4, 2023
1 parent 77cb406 commit 53f2329
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 22 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/cron_deploy-from-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ jobs:
workload_identity_provider: "${{ secrets.WIF_PROVIDER_NAME }}"
service_account: ${{ secrets.GSA_GCR_EMAIL }}

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"

- name: Install npm Packages
run: |
if grep -q artifactregistry-login "package.json"; then
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/cron_merged-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ jobs:
username: "oauth2accesstoken"
password: "${{ steps.auth.outputs.access_token }}"

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"

- name: Install npm Packages
run: |
if grep -q artifactregistry-login "package.json"; then
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/deploy-from-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ jobs:
workload_identity_provider: "${{ secrets.WIF_PROVIDER_NAME }}"
service_account: ${{ secrets.GSA_GCR_EMAIL }}

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"

- name: Install npm Packages
run: |
if grep -q artifactregistry-login "package.json"; then
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/exceptional_stage_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ jobs:
workload_identity_provider: "${{ secrets.WIF_PROVIDER_NAME }}"
service_account: ${{ secrets.GSA_GCR_EMAIL }}

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"

- name: Install npm Packages
run: |
if grep -q artifactregistry-login "package.json"; then
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/merged-lib-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ jobs:
service_account: ${{ secrets.GSA_GCR_EMAIL }}
export_environment_variables: true

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"

- name: Install npm Packages
run: |
if grep -q artifactregistry-login "package.json"; then
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/merged-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,6 @@ jobs:
username: "oauth2accesstoken"
password: "${{ steps.auth.outputs.access_token }}"

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"

- name: Install npm Packages
run: |
if grep -q artifactregistry-login "package.json"; then
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ts_open-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,12 @@ jobs:

- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v0"
uses: "google-github-actions/auth@v2"
with:
token_format: "access_token"
workload_identity_provider: "${{ secrets.WIF_PROVIDER_NAME }}"
service_account: ${{ secrets.GSA_GCR_EMAIL }}

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v1"

- name: Install npm Packages
run: |
if grep -q artifactregistry-login "package.json"; then
Expand Down

0 comments on commit 53f2329

Please sign in to comment.