Migrate Windows CI roles to test targets. (#18005)
This commit is contained in:
parent
9182619fef
commit
c2ec86cb78
81 changed files with 26 additions and 26 deletions
|
@ -171,13 +171,13 @@ ci_win3: test_win_group3 test_connection_winrm
|
||||||
test_winrm: test_win_group1 test_win_group2 test_win_group3
|
test_winrm: test_win_group1 test_win_group2 test_win_group3
|
||||||
|
|
||||||
test_win_group1:
|
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:
|
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:
|
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:
|
test_tags:
|
||||||
(cd targets/tags && ./runme.sh $(TEST_FLAGS))
|
(cd targets/tags && ./runme.sh $(TEST_FLAGS))
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
- hosts: windows
|
- hosts: windows
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
roles:
|
roles:
|
||||||
- { role: test_win_raw, tags: test_win_raw }
|
- { role: win_raw, tags: test_win_raw }
|
||||||
- { role: test_win_script, tags: test_win_script }
|
- { role: win_script, tags: test_win_script }
|
||||||
- { role: test_win_ping, tags: test_win_ping }
|
- { role: win_ping, tags: test_win_ping }
|
||||||
- { role: test_win_setup, tags: test_win_setup }
|
- { role: win_setup, tags: test_win_setup }
|
||||||
- { role: test_win_slurp, tags: test_win_slurp }
|
- { role: win_slurp, tags: test_win_slurp }
|
||||||
- { role: test_win_fetch, tags: test_win_fetch }
|
- { role: win_fetch, tags: test_win_fetch }
|
||||||
- { role: test_win_regmerge, tags: test_win_regmerge }
|
- { role: win_regmerge, tags: test_win_regmerge }
|
||||||
- { role: test_win_regedit, tags: test_win_regedit }
|
- { role: win_regedit, tags: test_win_regedit }
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
- hosts: windows
|
- hosts: windows
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
roles:
|
roles:
|
||||||
- { role: test_win_group, tags: test_win_group }
|
- { role: win_group, tags: test_win_group }
|
||||||
- { role: test_win_file, tags: test_win_file }
|
- { role: win_file, tags: test_win_file }
|
||||||
- { role: test_win_copy, tags: test_win_copy }
|
- { role: win_copy, tags: test_win_copy }
|
||||||
- { role: test_win_template, tags: test_win_template }
|
- { role: win_template, tags: test_win_template }
|
||||||
- { role: test_win_lineinfile, tags: test_win_lineinfile }
|
- { role: win_lineinfile, tags: test_win_lineinfile }
|
||||||
- { role: test_win_stat, tags: test_win_stat }
|
- { role: win_stat, tags: test_win_stat }
|
||||||
- { role: test_win_get_url, tags: test_win_get_url }
|
- { role: win_get_url, tags: test_win_get_url }
|
||||||
- { role: test_win_msi, tags: test_win_msi }
|
- { role: win_msi, tags: test_win_msi }
|
||||||
- { role: test_win_package, tags: test_win_package }
|
- { role: win_package, tags: test_win_package }
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
- hosts: windows
|
- hosts: windows
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
roles:
|
roles:
|
||||||
- { role: test_win_service, tags: test_win_service }
|
- { role: win_service, tags: test_win_service }
|
||||||
- { role: test_win_feature, tags: test_win_feature }
|
- { role: win_feature, tags: test_win_feature }
|
||||||
- { role: test_win_user, tags: test_win_user }
|
- { role: win_user, tags: test_win_user }
|
||||||
- { role: test_win_async_wrapper, tags: test_win_async_wrapper }
|
- { role: win_async_wrapper, tags: test_win_async_wrapper }
|
||||||
- { role: test_win_shell, tags: test_win_shell }
|
- { role: win_shell, tags: test_win_shell }
|
||||||
- { role: test_win_command, tags: test_win_command }
|
- { role: win_command, tags: test_win_command }
|
||||||
|
|
Loading…
Reference in a new issue