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
63f6368c
Commit
63f6368c
authored
Aug 05, 2025
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use archiveArtifact() for BuildProxy()
parent
1ffbba52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+3
-8
ci-scripts/main.py
ci-scripts/main.py
+1
-1
No files found.
ci-scripts/cls_containerize.py
View file @
63f6368c
...
...
@@ -534,7 +534,7 @@ class Containerize():
HTML
.
CreateHtmlTabFooter
(
False
)
return
False
def
BuildProxy
(
self
,
HTML
):
def
BuildProxy
(
self
,
ctx
,
HTML
):
svr
=
self
.
eNB_serverId
[
self
.
eNB_instance
]
lIpAddr
,
lSourcePath
=
self
.
GetCredentials
(
svr
)
logging
.
debug
(
'Building on server: '
+
lIpAddr
)
...
...
@@ -566,15 +566,10 @@ class Containerize():
if
not
success
:
raise
Exception
(
"could not clone proxy repository"
)
filename
=
f'build_log_
{
self
.
testCase_id
}
'
fullpath
=
f'
{
lSourcePath
}
/
{
filename
}
'
fullpath
=
f'
{
lSourcePath
}
/proxy_build.log'
ssh
.
run
(
f'docker build --target oai-lte-multi-ue-proxy --tag proxy:
{
tag
}
--file
{
lSourcePath
}
/docker/Dockerfile.ubuntu18.04
{
lSourcePath
}
>
{
fullpath
}
2>&1'
)
ssh
.
run
(
f'zip -r -qq
{
fullpath
}
.zip
{
fullpath
}
'
)
local_file
=
f"
{
os
.
getcwd
()
}
/../cmake_targets/log/
{
filename
}
.zip"
ssh
.
copyin
(
f'
{
fullpath
}
.zip'
,
local_file
)
# don't delete such that we might recover the zips
#ssh.run(f'rm -f {fullpath}.zip')
archiveArtifact
(
ssh
,
ctx
,
fullpath
)
ssh
.
run
(
'docker image prune --force'
)
ret
=
ssh
.
run
(
f'docker image inspect --format=
\'
Size = {{{{.Size}}}} bytes
\'
proxy:
{
tag
}
'
)
...
...
ci-scripts/main.py
View file @
63f6368c
...
...
@@ -140,7 +140,7 @@ def ExecuteActionWithParam(action, ctx):
elif
action
==
'Build_Image'
:
success
=
CONTAINERS
.
BuildImage
(
HTML
)
elif
action
==
'Build_Proxy'
:
success
=
CONTAINERS
.
BuildProxy
(
HTML
)
success
=
CONTAINERS
.
BuildProxy
(
ctx
,
HTML
)
elif
action
==
'Build_Cluster_Image'
:
success
=
CLUSTER
.
BuildClusterImage
(
HTML
)
elif
action
==
'Build_Run_Tests'
:
...
...
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