Skip to content

Commit 3d5404a

Browse files
dafyddjmyii
authored andcommitted
ci(proxy+windows): fix setting up WinRM [skip ci]
* Automated using myii/ssf-formula#392
1 parent 7f554ac commit 3d5404a

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/kitchen.windows.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ jobs:
4444
New-LocalUser $env:machine_user -Password $password
4545
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
4646
- name: 'Set up WinRM'
47-
run: >
48-
Set-WSManQuickConfig -Force;
49-
Set-WSManInstance -ResourceURI winrm/config/service
50-
-ValueSet @{AllowUnencrypted="true"}
47+
run: |
48+
Set-WSManQuickConfig -Force
5149
- name: 'Run Bundler'
5250
run: |
5351
ruby --version
@@ -88,10 +86,8 @@ jobs:
8886
New-LocalUser $env:machine_user -Password $password
8987
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
9088
- name: 'Set up WinRM'
91-
run: >
92-
Set-WSManQuickConfig -Force;
93-
Set-WSManInstance -ResourceURI winrm/config/service
94-
-ValueSet @{AllowUnencrypted="true"}
89+
run: |
90+
Set-WSManQuickConfig -Force
9591
- name: 'Run Bundler'
9692
run: |
9793
ruby --version

kitchen.windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ driver:
1111

1212
provisioner:
1313
salt_install: bootstrap
14-
salt_bootstrap_options: -pythonVersion 3
14+
salt_bootstrap_options: -pythonVersion 3 -version 3003.3
1515
# yamllint disable rule:line-length
1616
init_environment: |
1717
C:\salt\salt-call --local state.single file.managed `

0 commit comments

Comments
 (0)