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
6233667d
Commit
6233667d
authored
Aug 11, 2025
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push_Local_Registry(): pass node
parent
7839d066
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+4
-4
ci-scripts/main.py
ci-scripts/main.py
+2
-2
ci-scripts/xml_files/container_image_build.xml
ci-scripts/xml_files/container_image_build.xml
+1
-1
ci-scripts/xml_files/container_image_build_arm.xml
ci-scripts/xml_files/container_image_build_arm.xml
+1
-1
No files found.
ci-scripts/cls_containerize.py
View file @
6233667d
...
@@ -627,10 +627,10 @@ class Containerize():
...
@@ -627,10 +627,10 @@ class Containerize():
HTML
.
CreateHtmlTabFooter
(
False
)
HTML
.
CreateHtmlTabFooter
(
False
)
return
False
return
False
def
Push_Image_to_Local_Registry
(
self
,
HTML
,
svr_id
,
tag_prefix
=
""
):
def
Push_Image_to_Local_Registry
(
self
,
node
,
HTML
,
tag_prefix
=
""
):
l
IpAddr
,
lSourcePath
=
self
.
GetCredentials
(
svr_id
)
l
SourcePath
=
self
.
eNBSourceCodePath
logging
.
debug
(
'Pushing images to server: '
+
lIpAddr
)
logging
.
debug
(
'Pushing images to server: '
+
node
)
ssh
=
cls_cmd
.
getConnection
(
lIpAddr
)
ssh
=
cls_cmd
.
getConnection
(
node
)
imagePrefix
=
'porcepix.sboai.cs.eurecom.fr'
imagePrefix
=
'porcepix.sboai.cs.eurecom.fr'
ret
=
ssh
.
run
(
f'docker login -u oaicicd -p oaicicd
{
imagePrefix
}
'
)
ret
=
ssh
.
run
(
f'docker login -u oaicicd -p oaicicd
{
imagePrefix
}
'
)
if
ret
.
returncode
!=
0
:
if
ret
.
returncode
!=
0
:
...
...
ci-scripts/main.py
View file @
6233667d
...
@@ -343,9 +343,9 @@ def ExecuteActionWithParam(action, ctx):
...
@@ -343,9 +343,9 @@ def ExecuteActionWithParam(action, ctx):
success
=
SCA
.
CppCheckAnalysis
(
ctx
,
HTML
)
success
=
SCA
.
CppCheckAnalysis
(
ctx
,
HTML
)
elif
action
==
'Push_Local_Registry'
:
elif
action
==
'Push_Local_Registry'
:
svr_id
=
test
.
findtext
(
'svr_id
'
)
node
=
test
.
findtext
(
'node
'
)
tag_prefix
=
test
.
findtext
(
'tag_prefix'
)
or
""
tag_prefix
=
test
.
findtext
(
'tag_prefix'
)
or
""
success
=
CONTAINERS
.
Push_Image_to_Local_Registry
(
HTML
,
svr_id
,
tag_prefix
)
success
=
CONTAINERS
.
Push_Image_to_Local_Registry
(
node
,
HTML
,
tag_prefix
)
elif
action
==
'Pull_Local_Registry'
or
action
==
'Clean_Test_Server_Images'
:
elif
action
==
'Pull_Local_Registry'
or
action
==
'Clean_Test_Server_Images'
:
if
force_local
:
if
force_local
:
...
...
ci-scripts/xml_files/container_image_build.xml
View file @
6233667d
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<testCase
id=
"000010"
>
<testCase
id=
"000010"
>
<class>
Push_Local_Registry
</class>
<class>
Push_Local_Registry
</class>
<desc>
Push Images to Local Registry
</desc>
<desc>
Push Images to Local Registry
</desc>
<
svr_id>
0
</svr_id
>
<
node>
obelix
</node
>
</testCase>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_image_build_arm.xml
View file @
6233667d
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<testCase
id=
"000010"
>
<testCase
id=
"000010"
>
<class>
Push_Local_Registry
</class>
<class>
Push_Local_Registry
</class>
<desc>
Push Images to Local Registry
</desc>
<desc>
Push Images to Local Registry
</desc>
<
svr_id>
0
</svr_id
>
<
node>
gracehopper3-oai
</node
>
<tag_prefix>
arm_
</tag_prefix>
<tag_prefix>
arm_
</tag_prefix>
</testCase>
</testCase>
...
...
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