Skip to content
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
7 changes: 6 additions & 1 deletion .github/workflows/databricks-ded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'dedicated_databricks')) ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'dedicated_databricks'))
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
pull-requests: write
timeout-minutes: 20
env:
DB_HOST_NAME: ${{ secrets.DB_HOST_NAME_CD }}
Expand All @@ -35,7 +39,8 @@ jobs:
- name: Authenticate with Google Cloud
uses: 'google-github-actions/auth@v2'
with:
credentials_json: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT_KEY }}
workload_identity_provider: ${{ secrets.CARTO_AT_GH_ACTIONS_WIF_PROVIDER }}
service_account: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT }}
- name: Get Databricks secrets
id: secrets
uses: google-github-actions/get-secretmanager-secrets@v2
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:

test:
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
timeout-minutes: 20
env:
DB_PREFIX: ci_${{ github.sha }}_${{ github.run_id }}_${{ github.run_attempt }}_
Expand All @@ -43,7 +46,8 @@ jobs:
- name: Authenticate with Google Cloud
uses: 'google-github-actions/auth@v2'
with:
credentials_json: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT_KEY }}
workload_identity_provider: ${{ secrets.CARTO_AT_GH_ACTIONS_WIF_PROVIDER }}
service_account: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT }}
- name: Get Databricks secrets
id: secrets
uses: google-github-actions/get-secretmanager-secrets@v2
Expand Down Expand Up @@ -76,6 +80,9 @@ jobs:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
timeout-minutes: 10
env:
DB_HOST_NAME: ${{ secrets.DB_HOST_NAME_CD }}
Expand All @@ -95,7 +102,8 @@ jobs:
- name: Authenticate with Google Cloud
uses: 'google-github-actions/auth@v2'
with:
credentials_json: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT_KEY }}
workload_identity_provider: ${{ secrets.CARTO_AT_GH_ACTIONS_WIF_PROVIDER }}
service_account: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT }}
- name: Get Databricks secrets
id: secrets
uses: google-github-actions/get-secretmanager-secrets@v2
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/oracle-ded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,19 @@ jobs:
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'dedicated_oracle')) ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'dedicated_oracle'))
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
pull-requests: write
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Auth google
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT_KEY }}
workload_identity_provider: ${{ secrets.CARTO_AT_GH_ACTIONS_WIF_PROVIDER }}
service_account: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT }}
- name: Retrieve secrets (CD)
id: get-gcp-secrets-cd
uses: google-github-actions/get-secretmanager-secrets@v2
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:

test:
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
timeout-minutes: 55
env:
ORA_PREFIX: CI_${{ github.run_id }}_${{ github.run_attempt }}_
Expand All @@ -35,7 +38,8 @@ jobs:
- name: Auth google
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT_KEY }}
workload_identity_provider: ${{ secrets.CARTO_AT_GH_ACTIONS_WIF_PROVIDER }}
service_account: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT }}
- name: Retrieve secrets
id: get-gcp-secrets
uses: google-github-actions/get-secretmanager-secrets@v2
Expand Down Expand Up @@ -98,6 +102,9 @@ jobs:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
timeout-minutes: 20
strategy:
matrix:
Expand All @@ -110,7 +117,8 @@ jobs:
- name: Auth google
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT_KEY }}
workload_identity_provider: ${{ secrets.CARTO_AT_GH_ACTIONS_WIF_PROVIDER }}
service_account: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT }}
- name: Retrieve secrets (CI)
if: matrix.target == 'ci'
id: get-gcp-secrets
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/snowflake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:

test:
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
timeout-minutes: 35
env:
SF_PREFIX: ci_${{ github.sha }}_${{ github.run_id }}_${{ github.run_attempt }}_
Expand All @@ -39,7 +42,8 @@ jobs:
- name: Auth google
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT_KEY }}
workload_identity_provider: ${{ secrets.CARTO_AT_GH_ACTIONS_WIF_PROVIDER }}
service_account: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT }}
- name: Retrieve secrets
id: get-gcp-secrets
uses: google-github-actions/get-secretmanager-secrets@v2
Expand Down Expand Up @@ -88,6 +92,9 @@ jobs:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
timeout-minutes: 20
strategy:
matrix:
Expand Down Expand Up @@ -117,7 +124,8 @@ jobs:
if: matrix.use_rsa_key
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT_KEY }}
workload_identity_provider: ${{ secrets.CARTO_AT_GH_ACTIONS_WIF_PROVIDER }}
service_account: ${{ secrets.CARTO_AT_GH_ACTIONS_SERVICE_ACCOUNT }}
- name: Retrieve RSA secrets (CI only)
if: matrix.use_rsa_key
id: get-gcp-secrets
Expand Down
Loading