Skip to content

Commit

Permalink
enable Windows Server 2016 in CI (ansible#34127)
Browse files Browse the repository at this point in the history
* enable Windows Server 2016 in CI
* avoid use of Write-Host in config script
  • Loading branch information
nitzmahone authored and mattclay committed Jan 10, 2018
1 parent a685b62 commit fbce627
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions test/integration/host_vars/windows-2016-English-Full-Base
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# force 2016 to use NTLM + HTTP message encryption
ansible_winrm_transport: ntlm
ansible_winrm_scheme: http
ansible_port: 5985
5 changes: 4 additions & 1 deletion test/runner/requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage >= 4.2, != 4.3.2 # features in 4.2+ required, avoid known bug in 4.3.2 on python 2.6
pywinrm >= 0.2.1 # 0.1.1 required, but 0.2.1 provides better performance
pywinrm >= 0.3.0 # message encryption support
pylint == 1.7.4 ; python_version >= '3.5' # versions before 1.7.1 hang or fail to install on python 3.x
pylint == 1.6.5 ; python_version <= '2.7' # versions after 1.6.5 hang or fail during test on python 2.x
sphinx < 1.6 ; python_version < '2.7' # sphinx 1.6 and later require python 2.7 or later
Expand All @@ -11,3 +11,6 @@ ncclient >= 0.5.2 # Need features added in 0.5.2 and greater
idna < 2.6 # requests requires idna < 2.6, but cryptography will cause the latest version to be installed instead
paramiko < 2.4.0 ; python_version < '2.7' # paramiko 2.4.0 drops support for python 2.6
pytest < 3.3.0 ; python_version < '2.7' # pytest 3.3.0 drops support for python 2.6
ntlm-auth >= 1.0.6 # message encryption support
requests-ntlm >= 1.1.0 # message encryption support
requests-credssp >= 0.1.0 # message encryption support
5 changes: 4 additions & 1 deletion test/runner/requirements/windows-integration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ cryptography
jinja2
junit-xml
paramiko
pywinrm
ntlm-auth
requests-ntlm
requests-credssp
pywinrm[credssp]
pyyaml
1 change: 1 addition & 0 deletions test/utils/shippable/windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ if [ -s /tmp/windows.txt ] || [ "${CHANGED:+$CHANGED}" == "" ]; then
--windows 2008-R2_SP1
--windows 2012-RTM
--windows 2012-R2_RTM
--windows 2016-English-Full-Base
)
else
echo "No changes requiring integration tests specific to Windows were detected."
Expand Down

0 comments on commit fbce627

Please sign in to comment.