Skip to content

Commit

Permalink
Add variable for elementary target
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Aug 16, 2024
1 parent e51e0fe commit 82fc743
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions airflow_variables_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
},
"dbt_dataset_for_test": "test",
"dbt_elementary_dataset": "test_elementary",
"dbt_elementary_target": "elementary",
"dbt_elementary_secret": "slack-token-elementary",
"dbt_full_refresh_models": {
"partnership_assets__account_holders_activity_fact": false,
Expand Down
1 change: 1 addition & 0 deletions airflow_variables_prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
},
"dbt_dataset_for_test": "placeholder_value",
"dbt_elementary_dataset": "elementary",
"dbt_elementary_target": "elementary",
"dbt_elementary_secret": "slack-token-elementary",
"dbt_full_refresh_models": {
"history_assets": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def elementary_task(
env_vars={
"DBT_USE_COLORS": "0",
"DBT_DATASET": "{{ var.value.dbt_elementary_dataset }}",
"DBT_TARGET": "{{ var.value.dbt_target }}",
"DBT_TARGET": "{{ var.value.dbt_elementary_target }}",
"DBT_MAX_BYTES_BILLED": "{{ var.value.dbt_maximum_bytes_billed }}",
"DBT_JOB_TIMEOUT": "{{ var.value.dbt_job_execution_timeout_seconds }}",
"DBT_THREADS": "{{ var.value.dbt_threads }}",
Expand Down

0 comments on commit 82fc743

Please sign in to comment.