From 3df901cea4002750e99447f37b120d4c823719e0 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 17 Jul 2024 09:34:11 -0500 Subject: [PATCH] testing expansion --- .github/workflows/ci.yml | 2 ++ integration_tests/profiles.yml | 13 ++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9ca1a56..27494a8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,3 +140,5 @@ jobs: BIGQUERY_PROJECT: ${{ vars.BIGQUERY_PROJECT }} DBT_ENV_SECRET_BIGQUERY_KEYFILE_JSON: ${{ secrets.BIGQUERY_SERVICE_ACCOUNT_JSON }} BIGQUERY_SCHEMA: "dbt_utils_integration_tests_bigquery_${{ github.run_number }}" + DBT_ENV_SECRET_BIGQUERY_KEY_ID: ${{ secrets.DBT_ENV_SECRET_BIGQUERY_KEY_ID }} + DBT_ENV_SECRET_BIGQUERY_PRIVATE_KEY: ${{ secrets.DBT_ENV_SECRET_BIGQUERY_PRIVATE_KEY }} diff --git a/integration_tests/profiles.yml b/integration_tests/profiles.yml index 9ef264ce..7bd2ae81 100644 --- a/integration_tests/profiles.yml +++ b/integration_tests/profiles.yml @@ -32,8 +32,19 @@ integration_tests: project: "{{ env_var('BIGQUERY_PROJECT') }}" dataset: "{{ env_var('BIGQUERY_SCHEMA') }}" threads: 10 + # keyfile_json: + # "{{ env_var('DBT_ENV_SECRET_BIGQUERY_KEYFILE_JSON') | as_native }}" keyfile_json: - "{{ env_var('DBT_ENV_SECRET_BIGQUERY_KEYFILE_JSON') | as_native }}" + type: "service_account" + project_id: "emily-testing-354619" + private_key_id: {{ env_var('DBT_ENV_SECRET_BIGQUERY_KEY_ID') }} + private_key: {{ env_var('DBT_ENV_SECRET_BIGQUERY_PRIVATE_KEY') }} + client_email: "grants@emily-testing-354619.iam.gserviceaccount.com" + client_id: "123" + auth_uri: "https://accounts.google.com/o/oauth2/auth" + token_uri: "https://oauth2.googleapis.com/token" + auth_provider_x509_cert_url: "https://www.googleapis.com/oauth2/v1/certs" + client_x509_cert_url: "https://www.googleapis.com/robot/v1/metadata/x509/dbt-integration-test-user%40dbt-test-env.iam.gserviceaccount.com" snowflake: type: "snowflake"