6e0fb7fe1b
The test is moved from run.yaml to test.yaml to benefit from the cluster_ip variable that is set at the start of test.yaml. Change-Id: Ia0d1cbac94b6b638b6f410d9647ee1822751a767
11 lines
308 B
YAML
11 lines
308 B
YAML
- name: Get preview service ip
|
|
command: kubectl get svc zuul-preview -o jsonpath='{.spec.ports[0].nodePort}'
|
|
register: _preview_port
|
|
|
|
- name: Connect to the preview service
|
|
uri:
|
|
url: "http://{{ cluster_ip}}:{{ _preview_port.stdout_lines[0] }}"
|
|
method: POST
|
|
status_code: 403
|
|
timeout: 60
|