Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
bb6a3402
Commit
bb6a3402
authored
Feb 03, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: migrating to oairu target on RRU machines
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
27115e31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
ci-scripts/ran.py
ci-scripts/ran.py
+9
-5
ci-scripts/xml_files/multi_rru_band38_build.xml
ci-scripts/xml_files/multi_rru_band38_build.xml
+5
-5
No files found.
ci-scripts/ran.py
View file @
bb6a3402
...
...
@@ -127,12 +127,16 @@ class RANManagement():
result
=
re
.
search
(
'--eNBocp'
,
self
.
Build_eNB_args
)
if
result
is
not
None
:
self
.
air_interface
[
self
.
eNB_instance
]
=
'ocp-enb'
else
:
result
=
re
.
search
(
'--
gNB
'
,
self
.
Build_eNB_args
)
else
:
result
=
re
.
search
(
'--
RU
'
,
self
.
Build_eNB_args
)
if
result
is
not
None
:
self
.
air_interface
[
self
.
eNB_instance
]
=
'
nr-softmodem
'
self
.
air_interface
[
self
.
eNB_instance
]
=
'
oairu
'
else
:
self
.
air_interface
[
self
.
eNB_instance
]
=
'lte-softmodem'
result
=
re
.
search
(
'--gNB'
,
self
.
Build_eNB_args
)
if
result
is
not
None
:
self
.
air_interface
[
self
.
eNB_instance
]
=
'nr-softmodem'
else
:
self
.
air_interface
[
self
.
eNB_instance
]
=
'lte-softmodem'
# Worakround for some servers, we need to erase completely the workspace
if
self
.
Build_eNB_forced_workspace_cleanup
:
...
...
@@ -293,7 +297,7 @@ class RANManagement():
mySSH
.
open
(
self
.
eNBIPAddress
,
self
.
eNBUserName
,
self
.
eNBPassword
)
mySSH
.
command
(
'cd '
+
self
.
eNBSourceCodePath
+
'/cmake_targets'
,
'\$'
,
5
)
#-qq quiet / -u update orcreate files
mySSH
.
command
(
'unzip -u -qq -DD tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
command
(
'unzip -
o -
u -qq -DD tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
command
(
'rm -f tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
close
()
else
:
...
...
ci-scripts/xml_files/multi_rru_band38_build.xml
View file @
bb6a3402
...
...
@@ -26,7 +26,7 @@
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
010101 010102 010103
00010
1 000102 000103
00010
2 000103 000101
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
...
...
@@ -50,7 +50,7 @@
<testCase
id=
"010102"
>
<class>
Build_eNB
</class>
<desc>
Build Master RRU
</desc>
<Build_eNB_args>
-w USRP -c --
eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --
RU
--ninja
</Build_eNB_args>
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
...
...
@@ -59,7 +59,7 @@
<testCase
id=
"000102"
>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build Master RRU
</desc>
<Build_eNB_args>
-w USRP -c --
eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --
RU
--ninja
</Build_eNB_args>
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
</testCase>
...
...
@@ -67,7 +67,7 @@
<testCase
id=
"010103"
>
<class>
Build_eNB
</class>
<desc>
Build Slave RRU
</desc>
<Build_eNB_args>
-w USRP -c --
eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --
RU
--ninja
</Build_eNB_args>
<eNB_instance>
2
</eNB_instance>
<eNB_serverId>
2
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
...
...
@@ -76,7 +76,7 @@
<testCase
id=
"000103"
>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build Slave RRU
</desc>
<Build_eNB_args>
-w USRP -c --
eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --
RU
--ninja
</Build_eNB_args>
<eNB_instance>
2
</eNB_instance>
<eNB_serverId>
2
</eNB_serverId>
</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