[jjo] improve dind run-test-distros.sh via spec files

This commit is contained in:
JuanJo Ciarlante
2018-10-17 00:12:50 +00:00
parent 5a5cf15c04
commit 635261eb12
5 changed files with 94 additions and 25 deletions

View File

@@ -0,0 +1,11 @@
# Test spec file: used from ./run-test-distros.sh, will run
# each distro in $DISTROS overloading main kubespray ansible-playbook run
# Get all DISTROS from distro.yaml (shame no yaml parsing, but nuff anyway)
# DISTROS="${*:-$(egrep -o '^ \w+' group_vars/all/distro.yaml|paste -s)}"
DISTROS=(debian ubuntu centos fedora)
# Each line below will be added as --extra-vars to main playbook run
EXTRAS=(
'kube_network_plugin=calico'
'kube_network_plugin=weave'
)