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
Michael Black
OpenXG UE
Commits
ff2b880d
Commit
ff2b880d
authored
Aug 13, 2019
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify ci to allow running without apt cacher (default behavior of enforcing apt-cacher unchanged)
parent
a53ed306
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ci-scripts/oai-ci-vm-tool
ci-scripts/oai-ci-vm-tool
+1
-0
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+2
-2
No files found.
ci-scripts/oai-ci-vm-tool
View file @
ff2b880d
...
...
@@ -157,6 +157,7 @@ function setvar_usage {
declare
-A
HELP_VAR
HELP_VAR[
"VM_OSREL"
]=
"OS release to use in virtual machines"
HELP_VAR[
"RUN_EXPERIMENTAL"
]=
"Enforce execution of variants with EXPERIMENTAL variable set to
\"
true
\"
"
HELP_VAR[
"OPTIONAL_APTCACHER"
]=
"build and Run tests will fail if apt-cacher not installed and this variable not set to
\"
true
\"
"
echo
"--setvar_<varname> <value> where varname is one of:"
for
i
in
${
AUTHORIZED_VAR
[@]
}
;
do
printf
"%20s : %s
\n
"
"
$i
"
"
${
HELP_VAR
[
$i
]
}
"
;
done
}
...
...
ci-scripts/runTestOnVM.sh
View file @
ff2b880d
...
...
@@ -476,7 +476,7 @@ function install_epc_on_vm {
local
LOC_EPC_VM_IP_ADDR
=
`
uvt-kvm ip
$LOC_EPC_VM_NAME
`
echo
"
$LOC_EPC_VM_NAME
has for IP addr =
$LOC_EPC_VM_IP_ADDR
"
scp
-o
StrictHostKeyChecking
=
no /etc/apt/apt.conf.d/01proxy ubuntu@
$LOC_EPC_VM_IP_ADDR
:/home/ubuntu
[
-f
/etc/apt/apt.conf.d/01proxy
]
&&
scp
-o
StrictHostKeyChecking
=
no /etc/apt/apt.conf.d/01proxy ubuntu@
$LOC_EPC_VM_IP_ADDR
:/home/ubuntu
# ltebox specific actions (install and start)
LTE_BOX_TO_INSTALL
=
1
...
...
@@ -500,7 +500,7 @@ function install_epc_on_vm {
echo
"############################################################"
echo
"Install EPC on EPC VM (
$LOC_EPC_VM_NAME
)"
echo
"############################################################"
echo
"sudo cp 01proxy /etc/apt/apt.conf.d/"
>
$LOC_EPC_VM_CMDS
echo
"sudo
[ -f 01proxy ] &&
cp 01proxy /etc/apt/apt.conf.d/"
>
$LOC_EPC_VM_CMDS
echo
"touch /home/ubuntu/.hushlogin"
>>
$LOC_EPC_VM_CMDS
echo
"echo
\"
sudo apt-get --yes --quiet install zip openjdk-8-jre libconfuse-dev libreadline-dev liblog4c-dev libgcrypt-dev libsctp-dev python2.7 python2.7-dev daemon iperf
\"
"
>>
$LOC_EPC_VM_CMDS
echo
"sudo apt-get update > zip-install.txt 2>&1"
>>
$LOC_EPC_VM_CMDS
...
...
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