Commit 8de58c79 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

update CI

parent 435b46b4
......@@ -30,8 +30,8 @@ Stock-S3-box:
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/
- time vagrant package --base windows10R4 --output windows10R4_virtualbox.box
- time 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/
- rm windows10R4_virtualbox.box || true
Deploy-VM:
......@@ -44,6 +44,6 @@ Deploy-VM:
script:
- vboxmanage controlvm win10R4 poweroff || true
- vboxmanage unregistervm --delete win10R4 || true
- vboxmanage modifyvm windows10R4 --name win10R4 || true
- vboxmanage modifyvm windows10R4 --name win10R4
- sudo vboxmanage unregistervm win10R4 || true
- sudo vboxmanage registervm "/home/VirtualBox VMs/win10R4/win10R4.vbox"
- sudo vboxmanage registervm "/home/gitlab-runner/VirtualBox VMs/win10R4/win10R4.vbox"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment