ci(proxy+windows): fix setting up WinRM [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/392
This commit is contained in:
Dafydd Jones 2021-12-21 23:16:38 +00:00 committed by Imran Iqbal
parent 03c9093ac7
commit a8b653431d
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
2 changed files with 5 additions and 9 deletions

View file

@ -44,10 +44,8 @@ jobs:
New-LocalUser $env:machine_user -Password $password
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
- name: 'Set up WinRM'
run: >
Set-WSManQuickConfig -Force;
Set-WSManInstance -ResourceURI winrm/config/service
-ValueSet @{AllowUnencrypted="true"}
run: |
Set-WSManQuickConfig -Force
- name: 'Run Bundler'
run: |
ruby --version
@ -88,10 +86,8 @@ jobs:
New-LocalUser $env:machine_user -Password $password
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
- name: 'Set up WinRM'
run: >
Set-WSManQuickConfig -Force;
Set-WSManInstance -ResourceURI winrm/config/service
-ValueSet @{AllowUnencrypted="true"}
run: |
Set-WSManQuickConfig -Force
- name: 'Run Bundler'
run: |
ruby --version

View file

@ -11,7 +11,7 @@ driver:
provisioner:
salt_install: bootstrap
salt_bootstrap_options: -pythonVersion 3
salt_bootstrap_options: -pythonVersion 3 -version 3003.3
platforms:
- name: windows-2019-latest-py3