To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit c46cad2b authored by Dan Hochstrasser's avatar Dan Hochstrasser
Browse files

forcefully remove vagrant box or add

parent 51b39c02
Pipeline #97673 passed with stages
in 13 minutes and 29 seconds
......@@ -149,16 +149,16 @@ disk_management-test:
tags:
- vagrant
before_script:
- sudo su root -c 'vagrant box add id-cd-vm-rh7-tmpl-anstest "http://idinstallprd.ethz.ch/img/vagrant/id-cd-vm-rh7-tmpl-anstest.box"'
- sudo su root -c 'vagrant box add id-cd-vm-rh8-tmpl-anstest "http://idinstallprd.ethz.ch/img/vagrant/id-cd-vm-rh8-tmpl-anstest.box"'
- sudo su root -c 'vagrant -f box add id-cd-vm-rh7-tmpl-anstest "http://idinstallprd.ethz.ch/img/vagrant/id-cd-vm-rh7-tmpl-anstest.box"'
- sudo su root -c 'vagrant -f box add id-cd-vm-rh8-tmpl-anstest "http://idinstallprd.ethz.ch/img/vagrant/id-cd-vm-rh8-tmpl-anstest.box"'
script:
- cd roles/disk_management
- sudo su root -c 'molecule test -s default'
- sudo su root -c 'molecule test -s delete_mount'
after_script:
- sudo su root -c 'vagrant box remove id-cd-vm-rh7-tmpl-anstest'
- sudo su root -c 'vagrant box remove id-cd-vm-rh8-tmpl-anstest'
- sudo su root -c 'vagrant -f box remove id-cd-vm-rh7-tmpl-anstest'
- sudo su root -c 'vagrant -f box remove id-cd-vm-rh8-tmpl-anstest'
only:
changes:
- .gitlab-ci.yml
- roles/disk_management/**/*
\ No newline at end of file
- roles/disk_management/**/*
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