Commit e1ca1c36 authored by Tan Siyuan's avatar Tan Siyuan
Browse files

hstdm add dag

parent 3ff3bc68
[csst-hstdm-l1]
obsid = [
"501", #
"502", #
"503", #
"504" #
]
chipid = [
"01", "02"
]
projid=[
"501"# not yet determined
]
{
"dag_id": "csst-hstdm-l1",
"dag_run_id": "12345",
"batch_id": "hstdm-001-reduction-v2",
"message": {
"obsid": "50100000002",
"chipid": "01",
"dataset": "hstdm-001",
"batch_id": "msc-001-reduction-v2"
}
}
\ No newline at end of file
# 定义DAG的基本信息
dag_id: "csst-hstdm-l1"
# 定义任务
tasks:
task1:
image: csst-hstdm-l1-qc0
tag: latest
force_pull: true
bash_command: "python /pipeline/app/run.py {message}"
task2:
image: csst-hstdm-l1
tag: latest
force_pull: true
bash_command: "python /pipeline/app/run.py {message}"
upstream_tasks: ["task1"] # 定义依赖关系,task2依赖task1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment