Skip to content

Commit

Permalink
chore: update gh actions versions (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus89 authored Nov 29, 2024
1 parent 94532b0 commit b5d0edd
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 109 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bigquery-ded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 20
env:
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0
BQ_PROJECT: ${{ secrets.BQ_PROJECT_CD }}
BQ_REGION: ${{ secrets.BQ_REGION_CD }}
BQ_BUCKET: ${{ secrets.BQ_BUCKET_CD }}
Expand All @@ -42,13 +42,13 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.BQCARTOCD_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
project_id: ${{ env.BQ_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ env.BQ_PROJECT }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/bigquery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.21.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0

jobs:

Expand All @@ -40,13 +40,13 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.BQCARTOCI_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
project_id: ${{ env.BQ_PROJECT_CI }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ env.BQ_PROJECT_CI }}
Expand Down Expand Up @@ -85,13 +85,13 @@ jobs:
- name: Check diff
uses: technote-space/get-diff-action@v4
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.BQCARTOCD_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
project_id: ${{ env.BQ_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ env.BQ_PROJECT }}
Expand Down Expand Up @@ -130,13 +130,13 @@ jobs:
- name: Check diff
uses: technote-space/get-diff-action@v4
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.BQCARTO_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
project_id: ${{ matrix.project }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ matrix.project }}
Expand All @@ -157,13 +157,13 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
env:
PYTHON3_VERSION: 3.8.11
VIRTUALENV_VERSION: 20.21.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0
GOOGLE_SECRET_MANAGER_PROJECT: ${{ secrets.GOOGLE_SECRET_MANAGER_PROJECT }}

jobs:
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTODB_ON_GCP_TERRAFORM_CI_CD_SERVICE_ACCOUNT_KEY }}
- name: Get secrets
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTODB_ON_GCP_TERRAFORM_CI_CD_SERVICE_ACCOUNT_KEY }}
- name: Get secrets
Expand Down Expand Up @@ -138,13 +138,13 @@ jobs:
- name: Setup virtualenv
run: pip install virtualenv==${{ env.VIRTUALENV_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
82 changes: 0 additions & 82 deletions .github/workflows/draft-new-release.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.21.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0

jobs:

Expand Down Expand Up @@ -116,13 +116,13 @@ jobs:
- name: Setup virtualenv
run: pip install virtualenv==${{ env.VIRTUALENV_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ jobs:
pr_title: Merge release into main branch
pr_body: |
This PR merges the release branch back into main.
This happens to ensure that the updates that happend on the stable branch.
- name: Merge PR if possible
continue-on-error: true
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/redshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
PYTHON2_VERSION: 2.7.18
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.15.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0

jobs:

Expand Down Expand Up @@ -169,13 +169,13 @@ jobs:
unzip awscliv2.zip
./aws/install
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/snowflake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
NODE_VERSION: 18.16
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.21.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0

jobs:

Expand Down Expand Up @@ -195,13 +195,13 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down

0 comments on commit b5d0edd

Please sign in to comment.