Add Vagrant CI (#5487)

This commit is contained in:
Maxime Guyot
2020-04-18 15:09:35 +02:00
committed by GitHub
parent bfa468c771
commit 56a9c7a802
2 changed files with 22 additions and 1 deletions

View File

@@ -14,3 +14,24 @@ molecule_tests:
- python -m pip install -r tests/requirements.txt
script:
- ./tests/scripts/molecule_run.sh
.vagrant:
extends: .testcases
variables:
CI_PLATFORM: "vagrant"
SSH_USER: "kubespray"
VAGRANT_DEFAULT_PROVIDER: "libvirt"
tags: [vagrant]
only: [/^pr-.*$/]
except: ['triggers']
image: quay.io/miouge/kubespray-vagrant
services: []
script:
- vagrant up
after_script:
- vagrant destroy --force
vagrant_ubuntu18-flannel:
stage: deploy-part2
extends: .vagrant
when: on_success