901ec92b9d
This is the test setup I have used to run the functional tests locally. In particular, the restart.sh script is useful for very quickly rebuilding the cluster from scratch while also using the local docker image cache to populate the cluster with cached images for speed. Change-Id: I994de1cdd49b487d68083f6e01ba73bfc4274d05 |
||
---|---|---|
.. | ||
ingress.yaml | ||
inventory | ||
kind.yaml | ||
README.rst | ||
restart.sh | ||
vars.yaml |
To run the functional tests locally with kind:
./restart.sh
ansible-playbook -i tools/inventory -e @tools/vars.yaml \
-e ansible_python_interpreter=`which python3` \
playbooks/zuul-operator-functional/run.yaml
# Start zuul-operator interactively while the above command is
# running.
ansible-playbook -i tools/inventory -e @tools/vars.yaml \
-e ansible_python_interpreter=`which python3` \
playbooks/zuul-operator-functional/test.yaml