Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
R ecosystem
WindowsR
Commits
27e87075
Commit
27e87075
authored
Oct 09, 2020
by
Jean-Francois Rey
☕
Browse files
add S3 storage of the vagrant box generated
parent
b2d62df8
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
27e87075
stages
:
stages
:
-
build
-
build
-
stock
-
deploy
-
deploy
Gen-VM
:
Gen-VM
:
...
@@ -20,13 +21,24 @@ Gen-VM:
...
@@ -20,13 +21,24 @@ Gen-VM:
paths
:
paths
:
-
vagrantup.log
-
vagrantup.log
Stock-S3-box
:
tags
:
-
"
virtualbox"
-
"
ansible"
-
"
vagrant"
stage
:
stock
when
:
manual
script
:
-
vagrant package --base windows10R4 --output windows10R4_virtualbox.box
-
s3cmd --access_key=$EC2_ACCESS_KEY --secret_key=$EC2_SECRET_KEY --host=$S3_HOST --host-bucket="%(bucket)s.$S3_HOST" --region="inra-tls" -v put windows10R4_virtualbox.box s3://gaev-stock/
Deploy-VM
:
Deploy-VM
:
tags
:
tags
:
-
"
virtualbox"
-
"
virtualbox"
-
"
ansible"
-
"
ansible"
-
"
vagrant"
-
"
vagrant"
stage
:
deploy
stage
:
deploy
when
:
on_success
when
:
manual
script
:
script
:
-
vboxmanage controlvm win10R4 poweroff ||
true
-
vboxmanage controlvm win10R4 poweroff ||
true
-
vboxmanage unregistervm --delete win10R4 ||
true
-
vboxmanage unregistervm --delete win10R4 ||
true
...
...
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