hw4: finalize selenoid and ansible workflow with citrus tests
This commit is contained in:
40
ansible/roles/verify/tasks/main.yml
Normal file
40
ansible/roles/verify/tasks/main.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
- name: Wait for Selenoid status endpoint
|
||||
ansible.builtin.uri:
|
||||
url: "http://127.0.0.1:{{ selenoid_host_port }}/status"
|
||||
method: GET
|
||||
status_code: 200
|
||||
register: selenoid_status_response
|
||||
retries: 20
|
||||
delay: 3
|
||||
until: selenoid_status_response.status == 200
|
||||
|
||||
- name: Wait for GGR ping endpoint
|
||||
ansible.builtin.uri:
|
||||
url: "http://127.0.0.1:{{ ggr_gateway_port }}/ping"
|
||||
method: GET
|
||||
status_code: 200
|
||||
register: ggr_ping_response
|
||||
retries: 20
|
||||
delay: 3
|
||||
until: ggr_ping_response.status == 200
|
||||
|
||||
- name: Wait for gateway UI endpoint
|
||||
ansible.builtin.uri:
|
||||
url: "http://127.0.0.1:{{ ggr_nginx_public_port }}/"
|
||||
method: GET
|
||||
status_code: 200
|
||||
register: ggr_ui_response
|
||||
retries: 20
|
||||
delay: 3
|
||||
until: ggr_ui_response.status == 200
|
||||
|
||||
- name: Wait for gateway webdriver status endpoint
|
||||
ansible.builtin.uri:
|
||||
url: "http://127.0.0.1:{{ ggr_nginx_public_port }}/wd/hub/status"
|
||||
method: GET
|
||||
status_code: 200
|
||||
register: wd_status_response
|
||||
retries: 20
|
||||
delay: 3
|
||||
until: wd_status_response.status == 200
|
||||
Reference in New Issue
Block a user