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
常顺宇
OpenXG-RAN
Commits
b1d35dcf
Commit
b1d35dcf
authored
Jun 07, 2019
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make addition of new options and variants easier in the bash scripts
prepare for external EPC
parent
ebd40e8d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
474 additions
and
395 deletions
+474
-395
ci-scripts/buildOnVM.sh
ci-scripts/buildOnVM.sh
+2
-2
ci-scripts/createVM.sh
ci-scripts/createVM.sh
+2
-2
ci-scripts/oai-ci-vm-tool
ci-scripts/oai-ci-vm-tool
+390
-343
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+80
-48
No files found.
ci-scripts/buildOnVM.sh
View file @
b1d35dcf
...
@@ -25,7 +25,7 @@ function build_usage {
...
@@ -25,7 +25,7 @@ function build_usage {
echo
" Original Author: Raphael Defosseux"
echo
" Original Author: Raphael Defosseux"
echo
" Requirements:"
echo
" Requirements:"
echo
" -- uvtool uvtool-libvirt apt-cacher"
echo
" -- uvtool uvtool-libvirt apt-cacher"
echo
" --
xenial
image already synced"
echo
" --
$VM_OSREL
image already synced"
echo
" Default:"
echo
" Default:"
echo
" -- eNB with USRP"
echo
" -- eNB with USRP"
echo
""
echo
""
...
@@ -95,7 +95,7 @@ function build_on_vm {
...
@@ -95,7 +95,7 @@ function build_on_vm {
echo
"Creating VM (
$VM_NAME
) on Ubuntu Cloud Image base"
echo
"Creating VM (
$VM_NAME
) on Ubuntu Cloud Image base"
echo
"############################################################"
echo
"############################################################"
acquire_vm_create_lock
acquire_vm_create_lock
uvt-kvm create
$VM_NAME
release
=
xenial
--memory
$VM_MEMORY
--cpu
$VM_CPU
--unsafe-caching
--template
ci-scripts/template-host.xml
uvt-kvm create
$VM_NAME
release
=
$VM_OSREL
--memory
$VM_MEMORY
--cpu
$VM_CPU
--unsafe-caching
--template
ci-scripts/template-host.xml
echo
"Waiting for VM to be started"
echo
"Waiting for VM to be started"
uvt-kvm
wait
$VM_NAME
--insecure
uvt-kvm
wait
$VM_NAME
--insecure
...
...
ci-scripts/createVM.sh
View file @
b1d35dcf
...
@@ -25,7 +25,7 @@ function create_usage {
...
@@ -25,7 +25,7 @@ function create_usage {
echo
" Original Author: Raphael Defosseux"
echo
" Original Author: Raphael Defosseux"
echo
" Requirements:"
echo
" Requirements:"
echo
" -- uvtool uvtool-libvirt apt-cacher"
echo
" -- uvtool uvtool-libvirt apt-cacher"
echo
" --
xenial
image already synced"
echo
" --
$VM_OSREL
image already synced"
echo
" Default:"
echo
" Default:"
echo
" -- eNB with USRP"
echo
" -- eNB with USRP"
echo
""
echo
""
...
@@ -90,7 +90,7 @@ function create_vm {
...
@@ -90,7 +90,7 @@ function create_vm {
echo
"Creating VM (
$VM_NAME
) on Ubuntu Cloud Image base"
echo
"Creating VM (
$VM_NAME
) on Ubuntu Cloud Image base"
echo
"############################################################"
echo
"############################################################"
acquire_vm_create_lock
acquire_vm_create_lock
uvt-kvm create
$VM_NAME
release
=
xenial
--memory
$VM_MEMORY
--cpu
$VM_CPU
--unsafe-caching
--template
ci-scripts/template-host.xml
uvt-kvm create
$VM_NAME
release
=
$VM_OSREL
--memory
$VM_MEMORY
--cpu
$VM_CPU
--unsafe-caching
--template
ci-scripts/template-host.xml
echo
"Waiting for VM to be started"
echo
"Waiting for VM to be started"
uvt-kvm
wait
$VM_NAME
--insecure
uvt-kvm
wait
$VM_NAME
--insecure
...
...
ci-scripts/oai-ci-vm-tool
View file @
b1d35dcf
This diff is collapsed.
Click to expand it.
ci-scripts/runTestOnVM.sh
View file @
b1d35dcf
This diff is collapsed.
Click to expand it.
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