Run each Windows version independently in CI.
This commit is contained in:
parent
26f551d1c3
commit
1d419c737d
40 changed files with 68 additions and 50 deletions
shippable.yml
test
integration/targets
wait_for_connection
win_acl_inheritance
win_audit_policy_system
win_audit_rule
win_certificate_store
win_command
win_copy
win_disk_facts
win_domain_membership
win_dotnet_ngen
win_dsc
win_environment
win_eventlog_entry
win_exec_wrapper
win_firewall
win_group_membership
win_iis_webbinding
win_mapped_drive
win_msi
win_package
win_pagefile
win_psmodule
win_reg_stat
win_regedit
win_region
win_route
win_say
win_scheduled_task_stat
win_setup
win_share
win_slurp
win_stat
win_tempfile
win_timezone
win_unzip
win_uri
win_wakeonlan
win_whoami
utils/shippable
|
@ -17,10 +17,23 @@ matrix:
|
|||
- env: T=units/3.6
|
||||
- env: T=units/3.7
|
||||
|
||||
- env: T=windows/1
|
||||
- env: T=windows/2
|
||||
- env: T=windows/3
|
||||
- env: T=windows/4
|
||||
- env: T=windows/2008/1
|
||||
- env: T=windows/2008-R2/1
|
||||
- env: T=windows/2012/1
|
||||
- env: T=windows/2012-R2/1
|
||||
- env: T=windows/2016/1
|
||||
|
||||
- env: T=windows/2008/2
|
||||
- env: T=windows/2008-R2/2
|
||||
- env: T=windows/2012/2
|
||||
- env: T=windows/2012-R2/2
|
||||
- env: T=windows/2016/2
|
||||
|
||||
- env: T=windows/2008/3
|
||||
- env: T=windows/2008-R2/3
|
||||
- env: T=windows/2012/3
|
||||
- env: T=windows/2012-R2/3
|
||||
- env: T=windows/2016/3
|
||||
|
||||
- env: T=network
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
posix/ci/group1
|
||||
windows/ci/group4
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group2
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group1
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group2
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group1
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group2
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group1
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group1
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group1
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group2
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group2
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group3
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group1
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group2
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group1
|
||||
windows/ci/group2
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group3
|
||||
|
|
|
@ -1 +1 @@
|
|||
windows/ci/group4
|
||||
windows/ci/group3
|
||||
|
|
|
@ -5,7 +5,8 @@ set -o pipefail
|
|||
declare -a args
|
||||
IFS='/:' read -ra args <<< "$1"
|
||||
|
||||
target="windows/ci/group${args[1]}/"
|
||||
version="${args[1]}"
|
||||
target="windows/ci/group${args[2]}/"
|
||||
|
||||
stage="${S:-prod}"
|
||||
provider="${P:-default}"
|
||||
|
@ -19,6 +20,9 @@ python_versions=(
|
|||
2.7
|
||||
)
|
||||
|
||||
# version to test when only testing a single version
|
||||
single_version=2012-R2
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
ansible-test windows-integration "${target}" --explain ${CHANGED:+"$CHANGED"} 2>&1 | { grep ' windows-integration: .* (targeted)$' || true; } > /tmp/windows.txt
|
||||
|
||||
|
@ -29,18 +33,19 @@ if [ -s /tmp/windows.txt ] || [ "${CHANGED:+$CHANGED}" == "" ]; then
|
|||
echo "Running Windows integration tests for multiple versions concurrently."
|
||||
|
||||
platforms=(
|
||||
--windows 2008
|
||||
--windows 2008-R2
|
||||
--windows 2012
|
||||
--windows 2012-R2
|
||||
--windows 2016
|
||||
--windows "${version}"
|
||||
)
|
||||
else
|
||||
echo "No changes requiring integration tests specific to Windows were detected."
|
||||
echo "Running Windows integration tests for a single version only."
|
||||
echo "Running Windows integration tests for a single version only: ${single_version}"
|
||||
|
||||
if [ "${version}" != "${single_version}" ]; then
|
||||
echo "Skipping this job since it is for: ${version}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
platforms=(
|
||||
--windows 2012-R2
|
||||
--windows "${version}"
|
||||
)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue