Migrate Windows CI roles to test targets. ()

This commit is contained in:
Matt Clay 2016-10-13 10:03:19 -07:00 committed by John R Barker
parent 9182619fef
commit c2ec86cb78
81 changed files with 26 additions and 26 deletions
test/integration
Makefile
targets
prepare_win_tests
win_async_wrapper
win_command/tasks
win_copy
files
empty.txtfoo.txt
subdir
bar.txt
subdir2
baz.txt
subdir3/subdir4
meta
tasks
win_feature
defaults
tasks
win_fetch/tasks
win_file
files
meta
tasks
win_get_url
defaults
tasks
win_group
defaults
tasks
win_lineinfile
win_msi
defaults
tasks
win_package
defaults
tasks
win_ping
win_raw/tasks
win_regedit
win_regmerge
win_script
win_service
defaults
tasks
win_setup/tasks
win_shell/tasks
win_slurp/tasks
win_stat/tasks
win_template
files
meta
tasks
templates
vars
win_user
test_win_group1.ymltest_win_group2.ymltest_win_group3.yml

View file

@ -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))

View file

@ -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 }

View file

@ -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 }

View file

@ -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 }