Skip to content

Commit

Permalink
deleted BQ references to get CI working
Browse files Browse the repository at this point in the history
  • Loading branch information
britt-allen committed Aug 22, 2024
1 parent 700d011 commit 440acd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
2 changes: 1 addition & 1 deletion ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FRIENDLY_PROJECT_NAME="Sample Project"
PROJECT_NAME="sample-project"

# Run copier.
for TARGET in Snowflake BigQuery; do
for TARGET in Snowflake; do
DIRECTORY=${PROJECT_NAME}-${TARGET}

# Enter the new project
Expand Down
22 changes: 2 additions & 20 deletions {{project_name}}/transform/ci/profiles.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@
target: dev
outputs:
dev:
{% if dbt_target == 'BigQuery' %}
type: bigquery
method: oauth
{% raw %}
project: "{{ env_var('GCP_PROJECT') }}"
{% endraw %}
# Should not be created in CI as the CI service account is read-only!
dataset: dbt_ci_should_not_create_this_dataset
threads: 4
{% elif dbt_target == 'Snowflake' %}
{% if dbt_target == 'Snowflake' %}
type: snowflake
{% raw %}
account: "{{ env_var('SNOWFLAKE_ACCOUNT') }}"
Expand All @@ -25,16 +16,7 @@
threads: 4
{% endif %}
prd:
{% if dbt_target == 'BigQuery' %}
type: bigquery
method: oauth
{% raw %}
project: "{{ env_var('GCP_PROJECT') }}"
{% endraw %}
# Should not be created in CI as the CI service account is read-only!
dataset: analytics
threads: 4
{% elif dbt_target == 'Snowflake' %}
{% if dbt_target == 'Snowflake' %}
type: snowflake
{% raw %}
account: "{{ env_var('SNOWFLAKE_ACCOUNT') }}"
Expand Down

0 comments on commit 440acd1

Please sign in to comment.