Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move setup-gcloud to floating V2 release #3204

Merged
merged 6 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-calitp-data-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
- name: Run checks
run: |
curl -sSL https://install.python-poetry.org | python -
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-calitp-data-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
export_default_credentials: true
service_account_key: ${{ secrets.GCP_SA_KEY }}
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
- name: Run checks
run: |
curl -sSL https://install.python-poetry.org | python -
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-warehouse-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
with:
python-version: '3.9'
- run: curl -sSL https://install.python-poetry.org | python -
- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
export_default_credentials: true
service_account_key: ${{ secrets.GCP_SA_KEY }}
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
- name: Compile dbt project
working-directory: warehouse
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/deploy-airflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
with:
fetch-depth: 0

- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
export_default_credentials: true
service_account_key: ${{ secrets.GCP_SA_KEY }}
credentials_json: '${{ secrets.GCP_SA_KEY }}'

- uses: google-github-actions/setup-gcloud@v2

# Only update requirements if they have changed; Composer throws an error if there are no changes to apply
- uses: tj-actions/changed-files@v35
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.12.0'
python-version: '3.11.7'
- uses: pre-commit/[email protected]
- uses: crate-ci/typos@master
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
with:
python-version: 3.9
- run: pip install -r docs/requirements.txt
- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2

- name: Build jupyter book
run: jb build docs --warningiserror --keep-going # set doc to fail on any sphinx warning
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sentry-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
export_default_credentials: true
service_account_key: ${{ secrets.GCP_SA_KEY }}
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
- uses: 'google-github-actions/get-secretmanager-secrets@v1'
id: secrets
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/service-release-channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
- name: install auth plugin
run: gcloud components install gke-gcloud-auth-plugin
- uses: google-github-actions/get-gke-credentials@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/service-release-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
with:
fetch-depth: 0

- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
- run: gcloud components install gke-gcloud-auth-plugin
- uses: google-github-actions/get-gke-credentials@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0
submodules: true

- uses: google-github-actions/setup-gcloud@v0
- uses: google-github-actions/setup-gcloud@v1
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/terraform-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
fetch-depth: 0
submodules: true

- uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
credentials_json: '${{ secrets.GCP_SA_KEY }}'

- uses: google-github-actions/setup-gcloud@v2

- uses: hashicorp/setup-terraform@v2
with:
Expand Down
Loading