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
7cb8acf6
Commit
7cb8acf6
authored
Mar 05, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: removing 1 VM in the pipeline
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
fdc818bc
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
52 deletions
+74
-52
ci-scripts/buildOnVM.sh
ci-scripts/buildOnVM.sh
+6
-0
ci-scripts/createVM.sh
ci-scripts/createVM.sh
+6
-0
ci-scripts/oai-ci-vm-tool
ci-scripts/oai-ci-vm-tool
+4
-4
ci-scripts/reportBuildLocally.sh
ci-scripts/reportBuildLocally.sh
+52
-48
ci-scripts/waitBuildOnVM.sh
ci-scripts/waitBuildOnVM.sh
+6
-0
No files found.
ci-scripts/buildOnVM.sh
View file @
7cb8acf6
...
@@ -62,6 +62,12 @@ function build_on_vm {
...
@@ -62,6 +62,12 @@ function build_on_vm {
echo
"ARCHIVES_LOC =
$ARCHIVES_LOC
"
echo
"ARCHIVES_LOC =
$ARCHIVES_LOC
"
echo
"BUILD_OPTIONS =
$BUILD_OPTIONS
"
echo
"BUILD_OPTIONS =
$BUILD_OPTIONS
"
if
[[
"
$VM_NAME
"
==
*
"-enb-usrp"
*
]]
then
echo
"This VM type is no longer supported in the pipeline framework"
return
fi
IS_VM_ALIVE
=
`
uvt-kvm list |
grep
-c
$VM_NAME
`
IS_VM_ALIVE
=
`
uvt-kvm list |
grep
-c
$VM_NAME
`
if
[
$IS_VM_ALIVE
-eq
0
]
if
[
$IS_VM_ALIVE
-eq
0
]
...
...
ci-scripts/createVM.sh
View file @
7cb8acf6
...
@@ -87,6 +87,12 @@ function create_vm {
...
@@ -87,6 +87,12 @@ function create_vm {
echo
"VM_CPU =
$VM_CPU
"
echo
"VM_CPU =
$VM_CPU
"
echo
"VM_DISK =
$VM_DISK
GBytes"
echo
"VM_DISK =
$VM_DISK
GBytes"
if
[[
"
$VM_NAME
"
==
*
"-enb-usrp"
*
]]
then
echo
"This VM type is no longer supported in the pipeline framework"
return
fi
echo
"############################################################"
echo
"############################################################"
echo
"Creating VM (
$VM_NAME
) on Ubuntu Cloud Image base"
echo
"Creating VM (
$VM_NAME
) on Ubuntu Cloud Image base"
echo
"############################################################"
echo
"############################################################"
...
...
ci-scripts/oai-ci-vm-tool
View file @
7cb8acf6
...
@@ -213,15 +213,15 @@ function variant__v6__nr_ue_usrp {
...
@@ -213,15 +213,15 @@ function variant__v6__nr_ue_usrp {
function
variant__v7__enb_ethernet
{
function
variant__v7__enb_ethernet
{
VM_MEMORY
=
4096
VM_MEMORY
=
4096
ARCHIVES_LOC
=
enb_eth
ARCHIVES_LOC
=
enb_eth
NB_PATTERN_FILES
=
8
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
"--eNB"
BUILD_OPTIONS
=
"--eNB
-w USRP --mu
"
}
}
function
variant__v8__ue_ethernet
{
function
variant__v8__ue_ethernet
{
VM_MEMORY
=
4096
VM_MEMORY
=
4096
ARCHIVES_LOC
=
ue_eth
ARCHIVES_LOC
=
ue_eth
NB_PATTERN_FILES
=
1
2
NB_PATTERN_FILES
=
1
3
BUILD_OPTIONS
=
"--UE"
BUILD_OPTIONS
=
"--UE
-w USRP
"
}
}
function
variant__v10__flexran_rtc
{
function
variant__v10__flexran_rtc
{
...
...
ci-scripts/reportBuildLocally.sh
View file @
7cb8acf6
...
@@ -580,16 +580,42 @@ function report_build {
...
@@ -580,16 +580,42 @@ function report_build {
sca_summary_table_row ./archives/cppcheck/cppcheck.xml
"Expression depends on order of evaluation of side effects"
unknownEvaluationOrder
sca_summary_table_row ./archives/cppcheck/cppcheck.xml
"Expression depends on order of evaluation of side effects"
unknownEvaluationOrder
sca_summary_table_footer ./archives/cppcheck/cppcheck.xml
sca_summary_table_footer ./archives/cppcheck/cppcheck.xml
summary_table_header
"OAI Build: 4G LTE eNB -- USRP option"
./archives/enb_usrp
# summary_table_header "OAI Build: 4G LTE eNB -- USRP option" ./archives/enb_usrp
summary_table_row
"LTE SoftModem - Release 15"
./archives/enb_usrp/lte-softmodem.Rel15.txt
"Built target lte-softmodem"
./enb_usrp_row1.html
# summary_table_row "LTE SoftModem - Release 15" ./archives/enb_usrp/lte-softmodem.Rel15.txt "Built target lte-softmodem" ./enb_usrp_row1.html
summary_table_row
"Coding - Release 15"
./archives/enb_usrp/coding.Rel15.txt
"Built target coding"
./enb_usrp_row2.html
# summary_table_row "Coding - Release 15" ./archives/enb_usrp/coding.Rel15.txt "Built target coding" ./enb_usrp_row2.html
summary_table_row
"OAI USRP device if - Release 15"
./archives/enb_usrp/oai_usrpdevif.Rel15.txt
"Built target oai_usrpdevif"
./enb_usrp_row3.html
# summary_table_row "OAI USRP device if - Release 15" ./archives/enb_usrp/oai_usrpdevif.Rel15.txt "Built target oai_usrpdevif" ./enb_usrp_row3.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/enb_usrp/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./enb_usrp_row4.html
# summary_table_row "OAI ETHERNET transport - Release 15" ./archives/enb_usrp/oai_eth_transpro.Rel15.txt "Built target oai_eth_transpro" ./enb_usrp_row4.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/enb_usrp/params_libconfig.Rel15.txt
"Built target params_libconfig"
./enb_usrp_row5.html
# summary_table_row "Parameters Lib Config - Release 15" ./archives/enb_usrp/params_libconfig.Rel15.txt "Built target params_libconfig" ./enb_usrp_row5.html
summary_table_row
"NASMESH - Release 15"
./archives/enb_usrp/nasmesh.Rel15.txt
"Built target nasmesh"
./enb_usrp_row6.html
# summary_table_row "NASMESH - Release 15" ./archives/enb_usrp/nasmesh.Rel15.txt "Built target nasmesh" ./enb_usrp_row6.html
summary_table_row
"RB Tool - Release 15"
./archives/enb_usrp/rb_tool.Rel15.txt
"Built target rb_tool"
./enb_usrp_row7.html
# summary_table_row "RB Tool - Release 15" ./archives/enb_usrp/rb_tool.Rel15.txt "Built target rb_tool" ./enb_usrp_row7.html
summary_table_row
"RF Simulator - Release 15"
./archives/enb_usrp/rfsimulator.Rel15.txt
"Built target rfsimulator"
./enb_usrp_row8.html
# summary_table_row "RF Simulator - Release 15" ./archives/enb_usrp/rfsimulator.Rel15.txt "Built target rfsimulator" ./enb_usrp_row8.html
summary_table_row
"TCP Bridge - Release 15"
./archives/enb_usrp/tcp_bridge_oai.Rel15.txt
"Built target tcp_bridge_oai"
./enb_usrp_row9.html
# summary_table_row "TCP Bridge - Release 15" ./archives/enb_usrp/tcp_bridge_oai.Rel15.txt "Built target tcp_bridge_oai" ./enb_usrp_row9.html
# summary_table_footer
#
summary_table_header
"OAI Build: 4G LTE eNB -- USRP option"
./archives/enb_eth
summary_table_row
"LTE SoftModem - Release 15"
./archives/enb_eth/lte-softmodem.Rel15.txt
"Built target lte-softmodem"
./enb_eth_row1.html
summary_table_row
"Coding - Release 15"
./archives/enb_eth/coding.Rel15.txt
"Built target coding"
./enb_eth_row2.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/enb_eth/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./enb_eth_row3.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/enb_eth/params_libconfig.Rel15.txt
"Built target params_libconfig"
./enb_eth_row4.html
summary_table_row
"RF Simulator - Release 15"
./archives/enb_eth/rfsimulator.Rel15.txt
"Built target rfsimulator"
./enb_eth_row5.html
summary_table_row
"TCP OAI Bridge - Release 15"
./archives/enb_eth/tcp_bridge_oai.Rel15.txt
"Built target tcp_bridge_oai"
./enb_eth_row6.html
summary_table_row
"OAI USRP device if - Release 15"
./archives/enb_eth/oai_usrpdevif.Rel15.txt
"Built target oai_usrpdevif"
./enb_eth_row7.html
summary_table_row
"NASMESH - Release 15"
./archives/enb_eth/nasmesh.Rel15.txt
"Built target nasmesh"
./enb_eth_row8.html
summary_table_row
"RB Tool - Release 15"
./archives/enb_eth/rb_tool.Rel15.txt
"Built target rb_tool"
./enb_eth_row9.html
summary_table_footer
summary_table_header
"OAI Build: 4G LTE UE -- USRP option"
./archives/ue_eth
summary_table_row
"LTE UE SoftModem - Release 15"
./archives/ue_eth/lte-uesoftmodem.Rel15.txt
"Built target lte-uesoftmodem"
./ue_eth_row1.html
summary_table_row
"Coding - Release 15"
./archives/ue_eth/coding.Rel15.txt
"Built target coding"
./ue_eth_row2.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/ue_eth/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./ue_eth_row3.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/ue_eth/params_libconfig.Rel15.txt
"Built target params_libconfig"
./ue_eth_row4.html
summary_table_row
"RF Simulator - Release 15"
./archives/ue_eth/rfsimulator.Rel15.txt
"Built target rfsimulator"
./ue_eth_row5.html
summary_table_row
"TCP OAI Bridge - Release 15"
./archives/ue_eth/tcp_bridge_oai.Rel15.txt
"Built target tcp_bridge_oai"
./ue_eth_row6.html
summary_table_row
"Conf 2 UE Data - Release 15"
./archives/ue_eth/conf2uedata.Rel15.txt
"Built target conf2uedata"
./ue_eth_row7.html
summary_table_row
"NVRAM - Release 15"
./archives/ue_eth/nvram.Rel15.txt
"Built target nvram"
./ue_eth_row8.html
summary_table_row
"UE IP - Release 15"
./archives/ue_eth/ue_ip.Rel15.txt
"Built target ue_ip"
./ue_eth_row9.html
summary_table_row
"USIM - Release 15"
./archives/ue_eth/usim.Rel15.txt
"Built target usim"
./ue_eth_row9a.html
summary_table_row
"OAI USRP device if - Release 15"
./archives/ue_eth/oai_usrpdevif.Rel15.txt
"Built target oai_usrpdevif"
./ue_eth_row9b.html
summary_table_footer
summary_table_footer
summary_table_header
"OAI Build: 4G LTE basic simulator option"
./archives/basic_sim
summary_table_header
"OAI Build: 4G LTE basic simulator option"
./archives/basic_sim
...
@@ -676,28 +702,6 @@ function report_build {
...
@@ -676,28 +702,6 @@ function report_build {
summary_table_footer
summary_table_footer
fi
fi
summary_table_header
"OAI Build: 4G LTE eNB -- ETHERNET transport option"
./archives/enb_eth
summary_table_row
"LTE SoftModem - Release 15"
./archives/enb_eth/lte-softmodem.Rel15.txt
"Built target lte-softmodem"
./enb_eth_row1.html
summary_table_row
"Coding - Release 15"
./archives/enb_eth/coding.Rel15.txt
"Built target coding"
./enb_eth_row2.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/enb_eth/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./enb_eth_row3.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/enb_eth/params_libconfig.Rel15.txt
"Built target params_libconfig"
./enb_eth_row4.html
summary_table_row
"RF Simulator - Release 15"
./archives/enb_eth/rfsimulator.Rel15.txt
"Built target rfsimulator"
./enb_eth_row5.html
summary_table_row
"TCP OAI Bridge - Release 15"
./archives/enb_eth/tcp_bridge_oai.Rel15.txt
"Built target tcp_bridge_oai"
./enb_eth_row6.html
summary_table_footer
summary_table_header
"OAI Build: 4G LTE UE -- ETHERNET transport option"
./archives/ue_eth
summary_table_row
"LTE UE SoftModem - Release 15"
./archives/ue_eth/lte-uesoftmodem.Rel15.txt
"Built target lte-uesoftmodem"
./ue_eth_row1.html
summary_table_row
"Coding - Release 15"
./archives/ue_eth/coding.Rel15.txt
"Built target coding"
./ue_eth_row2.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/ue_eth/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./ue_eth_row3.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/ue_eth/params_libconfig.Rel15.txt
"Built target params_libconfig"
./ue_eth_row4.html
summary_table_row
"RF Simulator - Release 15"
./archives/ue_eth/rfsimulator.Rel15.txt
"Built target rfsimulator"
./ue_eth_row5.html
summary_table_row
"TCP OAI Bridge - Release 15"
./archives/ue_eth/tcp_bridge_oai.Rel15.txt
"Built target tcp_bridge_oai"
./ue_eth_row6.html
summary_table_row
"Conf 2 UE Data - Release 15"
./archives/ue_eth/conf2uedata.Rel15.txt
"Built target conf2uedata"
./ue_eth_row7.html
summary_table_row
"NVRAM - Release 15"
./archives/ue_eth/nvram.Rel15.txt
"Built target nvram"
./ue_eth_row8.html
summary_table_row
"UE IP - Release 15"
./archives/ue_eth/ue_ip.Rel15.txt
"Built target ue_ip"
./ue_eth_row9.html
summary_table_row
"USIM - Release 15"
./archives/ue_eth/usim.Rel15.txt
"Built target usim"
./ue_eth_row9a.html
summary_table_footer
if
[
-e
./archives/red_hat
]
if
[
-e
./archives/red_hat
]
then
then
echo
" <h2>Red Hat Enterprise Linux Server release 7.6) -- Summary</h2>"
>>
./build_results.html
echo
" <h2>Red Hat Enterprise Linux Server release 7.6) -- Summary</h2>"
>>
./build_results.html
...
@@ -714,9 +718,23 @@ function report_build {
...
@@ -714,9 +718,23 @@ function report_build {
echo
" <button data-toggle=
\"
collapse
\"
data-target=
\"
#oai-compilation-details
\"
>Details for Compilation Errors and Warnings </button>"
>>
./build_results.html
echo
" <button data-toggle=
\"
collapse
\"
data-target=
\"
#oai-compilation-details
\"
>Details for Compilation Errors and Warnings </button>"
>>
./build_results.html
echo
" <div id=
\"
oai-compilation-details
\"
class=
\"
collapse
\"
>"
>>
./build_results.html
echo
" <div id=
\"
oai-compilation-details
\"
class=
\"
collapse
\"
>"
>>
./build_results.html
if
[
-f
./enb_usrp_row1.html
]
||
[
-f
./enb_usrp_row2.html
]
||
[
-f
./enb_usrp_row3.html
]
||
[
-f
./enb_usrp_row4.html
]
# if [ -f ./enb_usrp_row1.html ] || [ -f ./enb_usrp_row2.html ] || [ -f ./enb_usrp_row3.html ] || [ -f ./enb_usrp_row4.html ]
# then
# for DETAILS_TABLE in `ls ./enb_usrp_row*.html`
# do
# cat $DETAILS_TABLE >> ./build_results.html
# done
# fi
if
[
-f
./enb_eth_row1.html
]
||
[
-f
./enb_eth_row2.html
]
||
[
-f
./enb_eth_row3.html
]
||
[
-f
./enb_eth_row4.html
]
||
[
-f
./enb_eth_row5.html
]
||
[
-f
./enb_eth_row6.html
]
||
[
-f
./enb_eth_row7.html
]
||
[
-f
./enb_eth_row8.html
]
||
[
-f
./enb_eth_row9.html
]
then
for
DETAILS_TABLE
in
`
ls
./enb_eth_row
*
.html
`
do
cat
$DETAILS_TABLE
>>
./build_results.html
done
fi
if
[
-f
./ue_eth_row1.html
]
||
[
-f
./ue_eth_row2.html
]
||
[
-f
./ue_eth_row3.html
]
||
[
-f
./ue_eth_row4.html
]
||
[
-f
./ue_eth_row5.html
]
||
[
-f
./ue_eth_row6.html
]
||
[
-f
./ue_eth_row7.html
]
||
[
-f
./ue_eth_row8.html
]
||
[
-f
./ue_eth_row9.html
]
||
[
-f
./ue_eth_row9a.html
]
||
[
-f
./ue_eth_row9b.html
]
then
then
for
DETAILS_TABLE
in
`
ls
./
enb_usrp
_row
*
.html
`
for
DETAILS_TABLE
in
`
ls
./
ue_eth
_row
*
.html
`
do
do
cat
$DETAILS_TABLE
>>
./build_results.html
cat
$DETAILS_TABLE
>>
./build_results.html
done
done
...
@@ -749,20 +767,6 @@ function report_build {
...
@@ -749,20 +767,6 @@ function report_build {
cat
$DETAILS_TABLE
>>
./build_results.html
cat
$DETAILS_TABLE
>>
./build_results.html
done
done
fi
fi
if
[
-f
./enb_eth_row1.html
]
||
[
-f
./enb_eth_row2.html
]
||
[
-f
./enb_eth_row3.html
]
||
[
-f
./enb_eth_row4.html
]
||
[
-f
./enb_eth_row5.html
]
||
[
-f
./enb_eth_row6.html
]
then
for
DETAILS_TABLE
in
`
ls
./enb_eth_row
*
.html
`
do
cat
$DETAILS_TABLE
>>
./build_results.html
done
fi
if
[
-f
./ue_eth_row1.html
]
||
[
-f
./ue_eth_row2.html
]
||
[
-f
./ue_eth_row3.html
]
||
[
-f
./ue_eth_row4.html
]
||
[
-f
./ue_eth_row5.html
]
||
[
-f
./ue_eth_row6.html
]
then
for
DETAILS_TABLE
in
`
ls
./ue_eth_row
*
.html
`
do
cat
$DETAILS_TABLE
>>
./build_results.html
done
fi
if
[
-f
./enb_usrp_rh_row1.html
]
||
[
-f
./enb_usrp_rh_row2.html
]
||
[
-f
./enb_usrp_rh_row3.html
]
||
[
-f
./enb_usrp_rh_row4.html
]
if
[
-f
./enb_usrp_rh_row1.html
]
||
[
-f
./enb_usrp_rh_row2.html
]
||
[
-f
./enb_usrp_rh_row3.html
]
||
[
-f
./enb_usrp_rh_row4.html
]
then
then
for
DETAILS_TABLE
in
`
ls
./enb_usrp_rh_row
*
.html
`
for
DETAILS_TABLE
in
`
ls
./enb_usrp_rh_row
*
.html
`
...
...
ci-scripts/waitBuildOnVM.sh
View file @
7cb8acf6
...
@@ -47,6 +47,12 @@ function wait_on_vm_build {
...
@@ -47,6 +47,12 @@ function wait_on_vm_build {
echo
"ARCHIVES_LOC =
$ARCHIVES_LOC
"
echo
"ARCHIVES_LOC =
$ARCHIVES_LOC
"
echo
"BUILD_OPTIONS =
$BUILD_OPTIONS
"
echo
"BUILD_OPTIONS =
$BUILD_OPTIONS
"
if
[[
"
$VM_NAME
"
==
*
"-enb-usrp"
*
]]
then
echo
"This VM type is no longer supported in the pipeline framework"
return
fi
IS_VM_ALIVE
=
`
uvt-kvm list |
grep
-c
$VM_NAME
`
IS_VM_ALIVE
=
`
uvt-kvm list |
grep
-c
$VM_NAME
`
if
[
$IS_VM_ALIVE
-eq
0
]
if
[
$IS_VM_ALIVE
-eq
0
]
...
...
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