优化
This commit is contained in:
@@ -29,7 +29,7 @@ with DAG(
|
|||||||
image="192.168.0.19:9012/comm-add:1.0.1",
|
image="192.168.0.19:9012/comm-add:1.0.1",
|
||||||
image_pull_secrets=[k8s.V1LocalObjectReference("nexus-registry-secret")],
|
image_pull_secrets=[k8s.V1LocalObjectReference("nexus-registry-secret")],
|
||||||
cmds=["python", "main.py"],
|
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",
|
name="comm_add",
|
||||||
task_id="comm_add",
|
task_id="comm_add",
|
||||||
get_logs=True
|
get_logs=True
|
||||||
|
|||||||
Reference in New Issue
Block a user