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
misc
csst-echo
Commits
c519c40d
Commit
c519c40d
authored
Oct 20, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
36ec731e
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
c519c40d
# csst-echo
Docker image for csst-echo pipeline.
```
shell
docker run csst-echo python /pipeline/app/run.py
'{"dag_run": "12345"}'
```
app/run.py
View file @
c519c40d
...
...
@@ -21,5 +21,12 @@ p.info()
# parse JSON message
if
len
(
sys
.
argv
)
==
2
:
msg
=
sys
.
argv
[
1
]
else
:
raise
ValueError
(
"sys.argv[1] is required"
)
d
=
p
.
message
.
msg2dict
(
msg
)
print
(
f
"Input message:
{
d
}
"
)
p
.
pipeline_logger
.
info
(
f
"sys.argv =
{
sys
.
argv
}
"
)
exit
(
0
)
\ No newline at end of file
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