Add automatic cleanup of OpenStack CI VMs (#5760)

This commit is contained in:
Maxime Guyot
2020-03-12 23:12:39 +01:00
committed by GitHub
parent e0b76b185a
commit a4258b1244
4 changed files with 58 additions and 0 deletions

View File

@@ -104,6 +104,16 @@ tf-validate-aws:
OS_INTERFACE: public
OS_IDENTITY_API_VERSION: "3"
tf-ovh_cleanup:
stage: unit-tests
image: python
variables:
<<: *ovh_variables
before_script:
- pip install -r scripts/openstack-cleanup/requirements.txt
script:
- ./scripts/openstack-cleanup/main.py
tf-ovh_ubuntu18-calico:
extends: .terraform_apply
when: on_success