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
c1becf46
Commit
c1becf46
authored
Jul 11, 2025
by
BO ZHANG
🏀
Browse files
add --dags to select DAGs
parent
f403e059
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/csst_msc_l1.py
View file @
c1becf46
...
...
@@ -134,7 +134,7 @@ DEFAULT_DAGS = {
"csst-msc-l1-sls"
,
"csst-msc-l1-qc0"
,
}
SELECTED_DAGS
=
DEFAULT_DAGS
if
args
.
dag
is
None
else
{
dag
for
dag
in
args
.
dags
if
dag
in
DEFAULT_DAGS
}
SELECTED_DAGS
=
DEFAULT_DAGS
if
args
.
dag
s
is
None
else
{
dag
for
dag
in
args
.
dags
if
dag
in
DEFAULT_DAGS
}
print
(
"Selected DAGs: "
,
SELECTED_DAGS
)
for
dag
in
SELECTED_DAGS
:
this_task_list
=
CSST_DAGS
[
dag
].
schedule
(
...
...
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