Add molecule test for bootstrap-os (#5845)

This commit is contained in:
Maxime Guyot
2020-04-01 16:25:28 +02:00
committed by GitHub
parent be9414fabe
commit ded58d3b66
8 changed files with 94 additions and 0 deletions

16
.gitlab-ci/vagrant.yml Normal file
View File

@@ -0,0 +1,16 @@
---
molecule_tests:
tags: [vagrant]
only: [/^pr-.*$/]
except: ['triggers']
image: quay.io/miouge/kubespray-vagrant
services: []
stage: deploy-part1
before_script:
- tests/scripts/rebase.sh
- apt-get update && apt-get install -y python3-pip
- update-alternatives --install /usr/bin/python python /usr/bin/python3 10
- python -m pip install -r tests/requirements.txt
script:
- ./tests/scripts/molecule_run.sh