diff --git a/dags/business/dag_comm_add.py b/dags/business/dag_comm_add.py index 0088ec7..58f4c62 100644 --- a/dags/business/dag_comm_add.py +++ b/dags/business/dag_comm_add.py @@ -27,10 +27,10 @@ with DAG( # image="my-production-job:release-1.0.1", <-- old release image="192.168.0.19:9012/comm-add:1.0.1", image_pull_secrets=[k8s.V1LocalObjectReference("nexus-registry-secret")], - cmds=["Python", "-c"], - arguments=["print('hello world')"], - name="fail", - task_id="failing-task", + cmds=["python", "main.py"], + arguments=["--city", '{{dag_run.conf["city"] if "city" in dag_run.conf}} else all'], + name="comm_add", + task_id="comm_add", get_logs=True )