Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
4ef95971
Commit
4ef95971
authored
May 04, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair used Image information in CI
parent
21b63004
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+2
-2
No files found.
ci-scripts/cls_containerize.py
View file @
4ef95971
...
...
@@ -879,8 +879,8 @@ class Containerize():
cnt
+=
1
mySSH
.
command
(
'docker inspect --format="ImageUsed: {{.Config.Image}}" '
+
containerName
,
'\$'
,
5
)
for
stdoutLine
in
mySSH
.
getBefore
().
split
(
'
\n
'
):
if
stdoutLine
.
count
(
'ImageUsed:
porcepix
'
):
usedImage
=
stdoutLine
.
replace
(
'ImageUsed:
porcepix'
,
'porcepix
'
).
strip
()
if
stdoutLine
.
count
(
'ImageUsed:
oai-ci
'
):
usedImage
=
stdoutLine
.
replace
(
'ImageUsed:
oai-ci'
,
'oai-ci
'
).
strip
()
logging
.
debug
(
'Used image is '
+
usedImage
)
if
usedImage
!=
''
:
mySSH
.
command
(
'docker image inspect --format "* Size = {{.Size}} bytes
\n
* Creation = {{.Created}}
\n
* Id = {{.Id}}" '
+
usedImage
,
'\$'
,
5
,
silent
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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