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
ZhouShuya
OpenXG-RAN
Commits
aeffe090
Commit
aeffe090
authored
Nov 18, 2019
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: increase the disk size on the VMs
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
37612876
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
ci-scripts/buildOnVM.sh
ci-scripts/buildOnVM.sh
+1
-1
ci-scripts/createVM.sh
ci-scripts/createVM.sh
+1
-1
ci-scripts/waitBuildOnVM.sh
ci-scripts/waitBuildOnVM.sh
+2
-0
No files found.
ci-scripts/buildOnVM.sh
View file @
aeffe090
...
@@ -72,7 +72,7 @@ function build_on_vm {
...
@@ -72,7 +72,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
=
$VM_OSREL
--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
--
disk
10
--
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 @
aeffe090
...
@@ -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
=
$VM_OSREL
--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
--
disk
10
--
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/waitBuildOnVM.sh
View file @
aeffe090
...
@@ -76,6 +76,8 @@ function wait_on_vm_build {
...
@@ -76,6 +76,8 @@ function wait_on_vm_build {
echo
"echo
\"
ps -aux | grep build
\"
"
>>
$VM_CMDS
echo
"echo
\"
ps -aux | grep build
\"
"
>>
$VM_CMDS
echo
"while [
\$
(ps -aux | grep --color=never build_oai | grep -v grep | wc -l) -gt 0 ]; do sleep 3; done"
>>
$VM_CMDS
echo
"while [
\$
(ps -aux | grep --color=never build_oai | grep -v grep | wc -l) -gt 0 ]; do sleep 3; done"
>>
$VM_CMDS
fi
fi
echo
"echo
\"
df -h
\"
"
>>
$VM_CMDS
echo
"df -h"
>>
$VM_CMDS
ssh
-T
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
<
$VM_CMDS
ssh
-T
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
<
$VM_CMDS
rm
-f
$VM_CMDS
rm
-f
$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