Migrate Windows CI roles to test targets. (#18005)

pull/18008/head
Matt Clay 8 years ago committed by John R Barker
parent 9182619fef
commit c2ec86cb78

@ -171,13 +171,13 @@ ci_win3: test_win_group3 test_connection_winrm
test_winrm: test_win_group1 test_win_group2 test_win_group3
test_win_group1:
ansible-playbook test_win_group1.yml -i inventory.winrm -e outputdir=$(TEST_DIR) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
ANSIBLE_ROLES_PATH=targets ansible-playbook test_win_group1.yml -i inventory.winrm -e outputdir=$(TEST_DIR) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
test_win_group2:
ansible-playbook test_win_group2.yml -i inventory.winrm -e outputdir=$(TEST_DIR) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
ANSIBLE_ROLES_PATH=targets ansible-playbook test_win_group2.yml -i inventory.winrm -e outputdir=$(TEST_DIR) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
test_win_group3:
ansible-playbook test_win_group3.yml -i inventory.winrm -e outputdir=$(TEST_DIR) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
ANSIBLE_ROLES_PATH=targets ansible-playbook test_win_group3.yml -i inventory.winrm -e outputdir=$(TEST_DIR) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS)
test_tags:
(cd targets/tags && ./runme.sh $(TEST_FLAGS))

@ -1,11 +1,11 @@
- hosts: windows
gather_facts: false
roles:
- { role: test_win_raw, tags: test_win_raw }
- { role: test_win_script, tags: test_win_script }
- { role: test_win_ping, tags: test_win_ping }
- { role: test_win_setup, tags: test_win_setup }
- { role: test_win_slurp, tags: test_win_slurp }
- { role: test_win_fetch, tags: test_win_fetch }
- { role: test_win_regmerge, tags: test_win_regmerge }
- { role: test_win_regedit, tags: test_win_regedit }
- { role: win_raw, tags: test_win_raw }
- { role: win_script, tags: test_win_script }
- { role: win_ping, tags: test_win_ping }
- { role: win_setup, tags: test_win_setup }
- { role: win_slurp, tags: test_win_slurp }
- { role: win_fetch, tags: test_win_fetch }
- { role: win_regmerge, tags: test_win_regmerge }
- { role: win_regedit, tags: test_win_regedit }

@ -1,12 +1,12 @@
- hosts: windows
gather_facts: false
roles:
- { role: test_win_group, tags: test_win_group }
- { role: test_win_file, tags: test_win_file }
- { role: test_win_copy, tags: test_win_copy }
- { role: test_win_template, tags: test_win_template }
- { role: test_win_lineinfile, tags: test_win_lineinfile }
- { role: test_win_stat, tags: test_win_stat }
- { role: test_win_get_url, tags: test_win_get_url }
- { role: test_win_msi, tags: test_win_msi }
- { role: test_win_package, tags: test_win_package }
- { role: win_group, tags: test_win_group }
- { role: win_file, tags: test_win_file }
- { role: win_copy, tags: test_win_copy }
- { role: win_template, tags: test_win_template }
- { role: win_lineinfile, tags: test_win_lineinfile }
- { role: win_stat, tags: test_win_stat }
- { role: win_get_url, tags: test_win_get_url }
- { role: win_msi, tags: test_win_msi }
- { role: win_package, tags: test_win_package }

@ -1,9 +1,9 @@
- hosts: windows
gather_facts: false
roles:
- { role: test_win_service, tags: test_win_service }
- { role: test_win_feature, tags: test_win_feature }
- { role: test_win_user, tags: test_win_user }
- { role: test_win_async_wrapper, tags: test_win_async_wrapper }
- { role: test_win_shell, tags: test_win_shell }
- { role: test_win_command, tags: test_win_command }
- { role: win_service, tags: test_win_service }
- { role: win_feature, tags: test_win_feature }
- { role: win_user, tags: test_win_user }
- { role: win_async_wrapper, tags: test_win_async_wrapper }
- { role: win_shell, tags: test_win_shell }
- { role: win_command, tags: test_win_command }

Loading…
Cancel
Save