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
ca72af72
Commit
ca72af72
authored
Oct 10, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build eNB/gNB and UE on cluster in stages
parent
b3cc68b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
ci-scripts/cls_cluster.py
ci-scripts/cls_cluster.py
+10
-5
No files found.
ci-scripts/cls_cluster.py
View file @
ca72af72
...
...
@@ -314,6 +314,14 @@ class Cluster:
gnb_aw2s_job
=
self
.
_start_build
(
mySSH
,
'oai-gnb-aw2s'
)
attemptedImages
+=
[
'oai-gnb-aw2s'
]
wait
=
enb_job
is
not
None
and
gnb_job
is
not
None
and
gnb_aw2s_job
is
not
None
and
self
.
_wait_build_end
(
mySSH
,
[
enb_job
,
gnb_job
,
gnb_aw2s_job
],
600
)
if
not
wait
:
logging
.
error
(
'error during build of eNB/gNB'
)
status
=
status
and
wait
# recover logs
mySSH
.
command
(
f'oc logs
{
enb_job
}
> cmake_targets/log/oai-enb.log'
,
'\$'
,
10
)
mySSH
.
command
(
f'oc logs
{
gnb_job
}
> cmake_targets/log/oai-gnb.log'
,
'\$'
,
10
)
mySSH
.
command
(
f'oc logs
{
gnb_aw2s_job
}
> cmake_targets/log/oai-gnb-aw2s.log'
,
'\$'
,
10
)
self
.
_recreate_is_tag
(
mySSH
,
'oai-lte-ue'
,
imageTag
,
'openshift/oai-lte-ue-is.yaml'
)
self
.
_recreate_bc
(
mySSH
,
'oai-lte-ue'
,
imageTag
,
'openshift/oai-lte-ue-bc.yaml'
)
self
.
_retag_image_statement
(
mySSH
,
'ran-base'
,
'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base'
,
baseTag
,
'docker/Dockerfile.lteUE.rhel8.2'
)
...
...
@@ -328,13 +336,10 @@ class Cluster:
nrue_job
=
self
.
_start_build
(
mySSH
,
'oai-nr-ue'
)
attemptedImages
+=
[
'oai-nr-ue'
]
wait
=
enb_job
is
not
None
and
gnb_job
is
not
None
and
gnb_aw2s_job
is
not
None
and
lteue_job
is
not
None
and
nrue_job
is
not
None
and
self
.
_wait_build_end
(
mySSH
,
[
enb_job
,
gnb_job
,
lteue_job
,
nrue_job
],
600
)
if
not
wait
:
logging
.
error
(
'error during build of
eNB/gNB/
lteUE/nrUE'
)
wait
=
lteue_job
is
not
None
and
nrue_job
is
not
None
and
self
.
_wait_build_end
(
mySSH
,
[
lteue_job
,
nrue_job
],
600
)
if
not
wait
:
logging
.
error
(
'error during build of lteUE/nrUE'
)
status
=
status
and
wait
# recover logs
mySSH
.
command
(
f'oc logs
{
enb_job
}
> cmake_targets/log/oai-enb.log'
,
'\$'
,
10
)
mySSH
.
command
(
f'oc logs
{
gnb_job
}
> cmake_targets/log/oai-gnb.log'
,
'\$'
,
10
)
mySSH
.
command
(
f'oc logs
{
gnb_aw2s_job
}
> cmake_targets/log/oai-gnb-aw2s.log'
,
'\$'
,
10
)
mySSH
.
command
(
f'oc logs
{
lteue_job
}
> cmake_targets/log/oai-lte-ue.log'
,
'\$'
,
10
)
mySSH
.
command
(
f'oc logs
{
nrue_job
}
> cmake_targets/log/oai-nr-ue.log'
,
'\$'
,
10
)
...
...
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