zuul-operator/playbooks/zuul-operator-functional/tasks/zuul_web_check.yaml
James E. Blair 1b699279a4 Run a git server in k8s for functional tests
To make the functional tests easier to run locally, run a git server
in k8s instead of on the local machine.

Also, update the secret creation to work with kind as well as minikube.

Change-Id: I4c00129c7105405b0f6256e769486e79c0b173fe
2021-07-20 13:19:59 -07:00

8 lines
256 B
YAML

- name: "check api {{ zuul_web_url }}{{ endpoint }}"
uri:
url: "{{ zuul_web_url }}{{ endpoint }}"
register: result
until: "result.json is defined and result.json and (expected is not defined or result.json == expected)"
retries: 600
delay: 1