Skip to content

Commit

Permalink
Merge pull request #78 from pgoslatara/runner-version
Browse files Browse the repository at this point in the history
Setting runner to Ubuntu 22.04
  • Loading branch information
pgoslatara authored Oct 15, 2024
2 parents 09aa378 + 1d1ec36 commit f60c810
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/bigquery_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: bigquery_cleanup
on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:

jobs:
cleanup_stg:
Expand All @@ -17,6 +18,9 @@ jobs:
with:
python-version: "3.11"

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'

- name: Save stg GCP credentials to runner
run: |
echo "${{ secrets.DBT_CICD_SA_SECRET_KEY_STG_BASE64_ENCODED }}" | base64 --decode >> ./service_account.json && \
Expand Down Expand Up @@ -44,6 +48,9 @@ jobs:
with:
python-version: "3.11"

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'

- name: Save prd GCP credentials to runner
run: |
echo "${{ secrets.DBT_CICD_SA_SECRET_KEY_PRD_BASE64_ENCODED }}" | base64 --decode >> ./service_account.json && \
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cd_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
with:
python-version: "3.11"

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'

- name: Extract branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
with:
python-version: "3.11"

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'

- name: Save stg GCP credentials to runner
run: |
echo "${{ secrets.DBT_CICD_SA_SECRET_KEY_STG_BASE64_ENCODED }}" | base64 --decode >> ./service_account.json && \
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/daily_runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
with:
python-version: "3.11"

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'

- name: Save stg GCP credentials to runner
run: |
echo "${{ secrets.DBT_CICD_SA_SECRET_KEY_STG_BASE64_ENCODED }}" | base64 --decode >> ./service_account.json && \
Expand Down Expand Up @@ -67,6 +70,9 @@ jobs:
with:
python-version: "3.11"

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'

- name: Save prd GCP credentials to runner
run: |
echo "${{ secrets.DBT_CICD_SA_SECRET_KEY_PRD_BASE64_ENCODED }}" | base64 --decode >> ./service_account.json && \
Expand Down

0 comments on commit f60c810

Please sign in to comment.