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
spbro
OpenXG-RAN
Commits
2b67b0e1
Commit
2b67b0e1
authored
Sep 27, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI PullImage(): HTML: indicate pulled images
parent
904534f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+4
-1
No files found.
ci-scripts/cls_containerize.py
View file @
2b67b0e1
...
...
@@ -897,6 +897,7 @@ class Containerize():
myCmd
.
close
()
HTML
.
CreateHtmlTestRow
(
msg
,
'KO'
,
CONST
.
ALL_PROCESSES_OK
)
return
False
pulled_images
=
[]
for
image
in
self
.
imageToPull
:
tagToUse
=
CreateTag
(
self
.
ranCommitID
,
self
.
ranBranch
,
self
.
ranAllowMerge
)
imageTag
=
f"
{
image
}
:
{
tagToUse
}
"
...
...
@@ -911,6 +912,7 @@ class Containerize():
return
False
myCmd
.
run
(
f'docker tag
{
imagePrefix
}
/
{
imageTag
}
oai-ci/
{
imageTag
}
'
)
myCmd
.
run
(
f'docker rmi
{
imagePrefix
}
/
{
imageTag
}
'
)
pulled_images
+=
[
f"oai-ci/
{
imageTag
}
"
]
response
=
myCmd
.
run
(
f'docker logout
{
imagePrefix
}
'
)
if
response
.
returncode
!=
0
:
msg
=
'Could not log off from local registry'
...
...
@@ -919,7 +921,8 @@ class Containerize():
HTML
.
CreateHtmlTestRow
(
msg
,
'KO'
,
CONST
.
ALL_PROCESSES_OK
)
return
False
myCmd
.
close
()
HTML
.
CreateHtmlTestRow
(
'N/A'
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
msg
=
"Pulled Images:
\n
"
+
'
\n
'
.
join
(
pulled_images
)
HTML
.
CreateHtmlTestRowQueue
(
'N/A'
,
'OK'
,
[
msg
])
return
True
def
Clean_Test_Server_Images
(
self
,
HTML
):
...
...
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