hw4: finalize selenoid and ansible workflow with citrus tests
This commit is contained in:
37
ansible/inventory/group_vars/all.yml
Normal file
37
ansible/inventory/group_vars/all.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
run_apt_upgrade: false
|
||||
ansible_ssh_private_key_file: /home/spawn/.ssh/id_ed25519
|
||||
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=10 -o ServerAliveInterval=10 -o ServerAliveCountMax=3"
|
||||
|
||||
selenoid_dir: /opt/selenoid
|
||||
selenoid_compose_file: docker-compose.selenoid.yml
|
||||
selenoid_limit: 2
|
||||
selenoid_ui_port: 8080
|
||||
selenoid_container_network: "selenoid_default"
|
||||
selenoid_host_port: 4444
|
||||
selenoid_image: "aerokube/selenoid:1.11.3"
|
||||
selenoid_ui_image: "aerokube/selenoid-ui:1.10.11"
|
||||
selenoid_chrome_versions:
|
||||
- "128.0"
|
||||
- "127.0"
|
||||
selenoid_firefox_versions:
|
||||
- "125.0"
|
||||
- "124.0"
|
||||
|
||||
ggr_dir: /opt/ggr
|
||||
ggr_compose_file: docker-compose.ggr.yml
|
||||
ggr_gateway_port: 4445
|
||||
ggr_ui_listen_port: 8888
|
||||
ggr_ui_public_port: 8888
|
||||
ggr_nginx_public_port: 80
|
||||
ggr_quota_name: guest
|
||||
ggr_image: "aerokube/ggr:1.7.2"
|
||||
ggr_ui_image: "aerokube/ggr-ui:latest-release"
|
||||
nginx_image: "nginx:1.28.2"
|
||||
|
||||
run_tests_via_ansible: false
|
||||
test_runner_execute_mode: control
|
||||
test_runner_project_dir: /opt/otus-autotests/homework_1
|
||||
test_runner_control_project_dir: /mnt/c/Users/spawn/IdeaProjects/otus-autotests/homework_1
|
||||
test_runner_ui_test_class: ru.kovbasa.tests.CourseSearchTest
|
||||
test_runner_browser: chrome
|
||||
3
ansible/inventory/host_vars/localhost.yml
Normal file
3
ansible/inventory/host_vars/localhost.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
ansible_connection: local
|
||||
ggr_selenoid_host_override: selenoid
|
||||
4
ansible/inventory/host_vars/vm1.yml
Normal file
4
ansible/inventory/host_vars/vm1.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
ansible_host: 10.10.2.112
|
||||
ansible_user: ansible
|
||||
ggr_selenoid_host_override: selenoid
|
||||
4
ansible/inventory/host_vars/vm2.yml
Normal file
4
ansible/inventory/host_vars/vm2.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
ansible_host: 10.10.2.127
|
||||
ansible_user: ansible
|
||||
ggr_selenoid_host_override: selenoid
|
||||
9
ansible/inventory/hosts.ini
Normal file
9
ansible/inventory/hosts.ini
Normal file
@@ -0,0 +1,9 @@
|
||||
[selenoid_nodes]
|
||||
localhost
|
||||
vm1
|
||||
vm2
|
||||
|
||||
[ggr_gateway]
|
||||
localhost
|
||||
vm1
|
||||
vm2
|
||||
Reference in New Issue
Block a user