Skip to content

Commit

Permalink
ci(proxy+windows): fix setting up WinRM [skip ci]
Browse files Browse the repository at this point in the history
* Automated using myii/ssf-formula#392
  • Loading branch information
dafyddj authored and myii committed Dec 21, 2021
1 parent 03c9093 commit a8b6534
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/kitchen.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kitchen.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8b6534

Please sign in to comment.