zuul-operator/tools/README.rst
James E. Blair 901ec92b9d Add instructions and tools for running tests with kind
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
2021-07-23 10:27:11 -07:00

15 lines
466 B
ReStructuredText

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