ci(proxy): fix setting up WinRM

Same fix as provided for the SaltStack Formulas organisation:

* https://github.com/myii/ssf-formula/pull/392
This commit is contained in:
Dafydd Jones 2021-12-18 18:44:57 +00:00 committed by Pedro Algarvio
parent b3d29d5f0a
commit bd6a408aac
2 changed files with 5 additions and 8 deletions

View file

@ -74,10 +74,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
@ -131,10 +129,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

@ -29,6 +29,7 @@ suites:
- name: latest
provisioner:
salt_version: latest
salt_call_command: c:\Program Files\Salt Project\Salt\salt-call.bat
verifier:
command: pytest --cache-clear -v -s -ra --log-cli-level=debug -k "not test_ping" tests/integration/