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
25d8d11d
Commit
25d8d11d
authored
Dec 07, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ci): proper build implementation
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
f18785b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1476 additions
and
1477 deletions
+1476
-1477
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+1476
-1477
No files found.
ci-scripts/cls_containerize.py
View file @
25d8d11d
...
...
@@ -383,7 +383,7 @@ class Containerize():
imageNames
.
append
((
'oai-physim'
,
'phySim'
,
'oai-physim'
,
''
))
if
self
.
host
==
'Ubuntu'
:
imageNames
.
append
((
'oai-lte-ru'
,
'lteRU'
,
'oai-lte-ru'
,
''
))
imageNames
.
append
((
'oai-gnb-aerial'
,
'gNB.aerial'
,
'oai-gnb-aerial'
,
''
))
imageNames
.
append
((
'oai-gnb-aerial'
,
'gNB.aerial'
,
'oai-gnb-aerial'
,
''
))
# Building again the 5G images with Address Sanitizer
imageNames
.
append
((
'ran-build'
,
'build'
,
'ran-build-asan'
,
'--build-arg "BUILD_OPTION=--sanitize"'
))
imageNames
.
append
((
'oai-gnb'
,
'gNB'
,
'oai-gnb-asan'
,
'--build-arg "BUILD_OPTION=--sanitize"'
))
...
...
@@ -477,7 +477,6 @@ class Containerize():
cmd
.
run
(
f'sed -i -e "s#ran-build:latest#ran-build-asan:
{
imageTag
}
#" docker/Dockerfile.
{
pattern
}{
self
.
dockerfileprefix
}
'
)
elif
image
!=
'ran-build'
:
cmd
.
run
(
f'sed -i -e "s#ran-build:latest#ran-build:
{
imageTag
}
#" docker/Dockerfile.
{
pattern
}{
self
.
dockerfileprefix
}
'
)
cmd
.
run
(
f"docker run --name test-log -d
{
name
}
:
{
imageTag
}
/bin/true"
)
if
image
==
'oai-gnb-aerial'
:
cmd
.
run
(
'cp -f /opt/nvidia-ipc/nvipc_src.2023.11.28.tar.gz .'
)
ret
=
cmd
.
run
(
f'
{
self
.
cli
}
build
{
self
.
cliBuildOptions
}
--target
{
image
}
--tag
{
name
}
:
{
imageTag
}
--file docker/Dockerfile.
{
pattern
}{
self
.
dockerfileprefix
}
{
option
}
. > cmake_targets/log/
{
name
}
.log 2>&1'
,
timeout
=
1200
)
...
...
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