c2fb1a0747
Current ansible.tags 'facts' is for skipping actual Kubespray deployment at vagrant CI because the deployment takes much time. However the static 'facts' skips the deployment for normal usage of vagrant also. That causes confusions. This adds VAGRANT_ANSIBLE_TAGS to skip the deployment for vagrant CI. |
||
---|---|---|
.. | ||
build.sh | ||
Dockerfile | ||
README.md |
vagrant docker image
This image is used for the vagrant CI jobs. It is using the libvirt driver.
Usage
$ docker run --net host --rm -it -v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock quay.io/kubespray/vagrant
$ vagrant up
Bringing machine 'k8s-1' up with 'libvirt' provider...
Bringing machine 'k8s-2' up with 'libvirt' provider...
Bringing machine 'k8s-3' up with 'libvirt' provider...
[...]
Cache
You can set /root/kubespray_cache
as a volume to keep cache between runs.
Building
./build.sh v2.12.5