This commit is contained in:
shenjian@fangjia.com
2023-05-22 16:07:34 +08:00
parent 2f267ee038
commit 5877566c2e
+1 -1
View File
@@ -29,7 +29,7 @@ with DAG(
image="192.168.0.19:9012/comm-add:1.0.1",
image_pull_secrets=[k8s.V1LocalObjectReference("nexus-registry-secret")],
cmds=["python", "main.py"],
arguments=["--city", '{{dag_run.conf["city"] if "city" in dag_run.conf else all}}'],
arguments=["--city", '{{dag_run.conf["city"] if "city" in dag_run.conf else "all"}}'],
name="comm_add",
task_id="comm_add",
get_logs=True