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-pipeline
csst_common
Commits
d7c7ee3f
Commit
d7c7ee3f
authored
Dec 31, 2025
by
BO ZHANG
🏀
Browse files
remove p.info
parent
7f3cf5bd
Pipeline
#11682
passed with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
d7c7ee3f
...
...
@@ -127,6 +127,13 @@ class Pipeline:
self
.
task
=
{}
self
.
logger
.
info
(
f
"task =
{
self
.
task
}
"
)
# record basic information
self
.
logger
.
info
(
f
"DOCKER_IMAGE=
{
self
.
docker_image
}
"
)
self
.
logger
.
info
(
f
"BUILD=
{
self
.
build
}
"
)
self
.
logger
.
info
(
f
"CREATED=
{
self
.
created
}
"
)
self
.
logger
.
info
(
f
"VERBOSE=
{
self
.
verbose
}
"
)
self
.
logger
.
info
(
f
"INTTEST=
{
self
.
inttest
}
"
)
# warning operations
@
staticmethod
def
filter_warnings
(
level
:
str
=
"ignore"
):
...
...
@@ -340,15 +347,6 @@ class Pipeline:
f
"Invalid ref_cat:
{
task_ref_cat
}
not in
{
self
.
dfs1
.
catalog
.
all_catalog_names
}
"
)
# automatically log pipeline information
def
info
(
self
):
"""Return pipeline information."""
self
.
logger
.
info
(
f
"DOCKER_IMAGE=
{
self
.
docker_image
}
"
)
self
.
logger
.
info
(
f
"BUILD=
{
self
.
build
}
"
)
self
.
logger
.
info
(
f
"CREATED=
{
self
.
created
}
"
)
self
.
logger
.
info
(
f
"VERBOSE=
{
self
.
verbose
}
"
)
self
.
logger
.
info
(
f
"INTTEST=
{
self
.
inttest
}
"
)
def
exit
(
self
,
reason
:
str
=
None
):
"""Exit pipeline with reason.
...
...
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