Skip to content

Commit

Permalink
updating the dbt path following webhook update
Browse files Browse the repository at this point in the history
  status-im/infra-role-github-webhook@802cd09d

Signed-off-by: Alexis Pentori <alexis@status.im>
  • Loading branch information
apentori committed Sep 27, 2023
1 parent 79dd2f2 commit a1035be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dbt/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@

task_postgres_debug = BashOperator(
task_id = 'dbt_postgres_debug',
bash_command='dbt debug --profiles-dir /dbt --project-dir /dbt/status-im/dbt-models/models_postgres'
bash_command='dbt debug --profiles-dir /dbt --project-dir /dbt/dbt-models'
)
task_postgres_test= BashOperator(
task_id = 'dbt_postgres_test',
bash_command='dbt test --profiles-dir /dbt --project-dir /dbt/status-im/dbt-models/models_postgres'
bash_command='dbt test --profiles-dir /dbt --project-dir /dbt/dbt-models'
)
task_postgres_run = BashOperator(
task_id='dbt_postgres_run',
bash_command='dbt run --profiles-dir /dbt --project-dir /dbt/status-im/dbt-models/models_postgres'
bash_command='dbt run --profiles-dir /dbt --project-dir /dbt/dbt-models'
)

task_postgres_debug >> task_postgres_test >> task_postgres_run
2 changes: 1 addition & 1 deletion website_sync/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def extract_conn_id(output):
# Launch DBT transformation on the data previously fetched
dbt_transform = BashOperator(
task_id='dbt_postgres_run',
bash_command='dbt run --profiles-dir /dbt --project-dir /dbt/status-im/dbt-models/'
bash_command='dbt run --profiles-dir /dbt --project-dir /dbt/dbt-models/'
)
dbt_transform.doc_md = """\
## DBT transform
Expand Down

0 comments on commit a1035be

Please sign in to comment.