Skip to content

Commit

Permalink
Merge pull request #25 from atalyaalon/main
Browse files Browse the repository at this point in the history
_ fix
  • Loading branch information
atalyaalon authored Jan 5, 2022
2 parents 6c33749 + 734713c commit 7e37f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow_server/dags/cbs_import_from_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
with DAG('cbs-import-from-s3', **dag_kwargs) as cbs_import_from_s3:
CliBashOperator(
'anyway-etl anyway-kubectl-exec python3 main.py process cbs --source s3'
'{% if dag_run.conf.get("load_start_year") %} --load-start-year {{ dag_run.conf["load_start_year"] }}{% endif %}',
'{% if dag_run.conf.get("load_start_year") %} --load_start_year {{ dag_run.conf["load_start_year"] }}{% endif %}',
task_id='cbs-import-from-s3'
)
2 changes: 1 addition & 1 deletion airflow_server/dags/import_email_to_s3_and_update_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
task_id='import-email-to-s3'
) >> CliBashOperator(
'anyway-etl anyway-kubectl-exec python3 main.py process cbs --source s3'
'{% if dag_run.conf.get("load_start_year") %} --load-start-year {{ dag_run.conf["load_start_year"] }}{% endif %}',
'{% if dag_run.conf.get("load_start_year") %} --load_start_year {{ dag_run.conf["load_start_year"] }}{% endif %}',
task_id='cbs-import-from-s3'
) >> CliBashOperator(
'anyway-etl anyway-kubectl-exec python3 main.py process infographics-data-cache --update',
Expand Down

0 comments on commit 7e37f60

Please sign in to comment.