zuul-operator/tools
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
..
ingress.yaml Add instructions and tools for running tests with kind 2021-07-23 10:27:11 -07:00
inventory Add instructions and tools for running tests with kind 2021-07-23 10:27:11 -07:00
kind.yaml Add instructions and tools for running tests with kind 2021-07-23 10:27:11 -07:00
README.rst Add instructions and tools for running tests with kind 2021-07-23 10:27:11 -07:00
restart.sh Add instructions and tools for running tests with kind 2021-07-23 10:27:11 -07:00
vars.yaml Add instructions and tools for running tests with kind 2021-07-23 10:27:11 -07:00

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