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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
2b67b0e1
Commit
2b67b0e1
authored
1 year ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI PullImage(): HTML: indicate pulled images
parent
904534f0
Branches unavailable
2025.w14
2025.w13
2025.w12
2025.w11
2025.w10
2025.w09
2025.w08
2025.w07
2025.w06
2025.w05
2025.w04
2025.w03
2025.w02
2024.w51
2024.w50
2024.w49
2024.w48
2024.w47
2024.w46
2024.w45
2024.w44
2024.w43
2024.w42
2024.w41
2024.w40
2024.w39
v2.2.0
No related merge requests found
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():
...
@@ -897,6 +897,7 @@ class Containerize():
myCmd
.
close
()
myCmd
.
close
()
HTML
.
CreateHtmlTestRow
(
msg
,
'KO'
,
CONST
.
ALL_PROCESSES_OK
)
HTML
.
CreateHtmlTestRow
(
msg
,
'KO'
,
CONST
.
ALL_PROCESSES_OK
)
return
False
return
False
pulled_images
=
[]
for
image
in
self
.
imageToPull
:
for
image
in
self
.
imageToPull
:
tagToUse
=
CreateTag
(
self
.
ranCommitID
,
self
.
ranBranch
,
self
.
ranAllowMerge
)
tagToUse
=
CreateTag
(
self
.
ranCommitID
,
self
.
ranBranch
,
self
.
ranAllowMerge
)
imageTag
=
f"
{
image
}
:
{
tagToUse
}
"
imageTag
=
f"
{
image
}
:
{
tagToUse
}
"
...
@@ -911,6 +912,7 @@ class Containerize():
...
@@ -911,6 +912,7 @@ class Containerize():
return
False
return
False
myCmd
.
run
(
f'docker tag
{
imagePrefix
}
/
{
imageTag
}
oai-ci/
{
imageTag
}
'
)
myCmd
.
run
(
f'docker tag
{
imagePrefix
}
/
{
imageTag
}
oai-ci/
{
imageTag
}
'
)
myCmd
.
run
(
f'docker rmi
{
imagePrefix
}
/
{
imageTag
}
'
)
myCmd
.
run
(
f'docker rmi
{
imagePrefix
}
/
{
imageTag
}
'
)
pulled_images
+=
[
f"oai-ci/
{
imageTag
}
"
]
response
=
myCmd
.
run
(
f'docker logout
{
imagePrefix
}
'
)
response
=
myCmd
.
run
(
f'docker logout
{
imagePrefix
}
'
)
if
response
.
returncode
!=
0
:
if
response
.
returncode
!=
0
:
msg
=
'Could not log off from local registry'
msg
=
'Could not log off from local registry'
...
@@ -919,7 +921,8 @@ class Containerize():
...
@@ -919,7 +921,8 @@ class Containerize():
HTML
.
CreateHtmlTestRow
(
msg
,
'KO'
,
CONST
.
ALL_PROCESSES_OK
)
HTML
.
CreateHtmlTestRow
(
msg
,
'KO'
,
CONST
.
ALL_PROCESSES_OK
)
return
False
return
False
myCmd
.
close
()
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
return
True
def
Clean_Test_Server_Images
(
self
,
HTML
):
def
Clean_Test_Server_Images
(
self
,
HTML
):
...
...
This diff is collapsed.
Click to expand it.
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