Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-cicd
csst-dag
Commits
90f8a9f8
Commit
90f8a9f8
authored
Apr 29, 2025
by
BO ZHANG
🏀
Browse files
update DAG and message template
parent
a38a0750
Changes
2
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/csst-msc-l1-mbi.json
View file @
90f8a9f8
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
"dag_id"
:
"csst-msc-l1-mbi"
,
"dag_id"
:
"csst-msc-l1-mbi"
,
"dag_run_id"
:
"12345"
,
"dag_run_id"
:
"12345"
,
"dataset"
:
"csst-msc-c9-25sqdeg-v3"
,
"dataset"
:
"csst-msc-c9-25sqdeg-v3"
,
"batch_id"
:
"msc-093-reduction-v2"
,
"obs_type"
:
"WIDE"
,
"obsid"
:
"10109300543790"
,
"project_id"
:
"none"
,
"chipid"
:
"09"
,
"obs_id"
:
"10100543790"
,
"chip_id"
:
"09"
,
"batch_id"
:
"csst-msc-c9-25-sqdeg-v3-rdx1"
}
}
csst_dag/dag/csst-msc-l1-mbi.yml
View file @
90f8a9f8
# 定义DAG的基本信息
-
dag_id
:
diamond
dag_id
:
"
csst-msc-l1-mbi"
dag
:
tasks
:
# 定义任务
-
name
:
QC0
tasks
:
image
:
csst-msc-l1-qc0
task1
:
-
name
:
MBI
image
:
csst-msc-l1-qc0
dependencies
:
[
QC0
]
tag
:
latest
image
:
csst-msc-l1-mbi
force_pull
:
true
-
name
:
AST
bash_command
:
"
python
/pipeline/app/run.py
{message}"
dependencies
:
[
QC0
]
task2
:
image
:
csst-msc-l1-ast
image
:
csst-msc-l1-mbi
-
name
:
SSO
tag
:
latest
dependencies
:
[
AST
]
force_pull
:
true
template
:
csst-msc-l1-ast-sso
bash_command
:
"
python
/pipeline/app/run.py
{message}"
\ No newline at end of file
upstream_tasks
:
[
"
task1"
]
# 定义依赖关系,task2依赖task1
task3
:
image
:
csst-msc-l1-mbi-photmix
tag
:
latest
force_pull
:
true
bash_command
:
"
python
/pipeline/app/run.py
{message}"
upstream_tasks
:
[
"
task2"
]
# 定义依赖关系,task3依赖task2
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment