Skip to content

Commit

Permalink
Merge pull request #393 from myii/feat/replace-deprecated-windows-201…
Browse files Browse the repository at this point in the history
…6-with-2022

feat(proxy): replace deprecated Windows `2016` with `2022`
  • Loading branch information
myii authored Dec 22, 2021
2 parents 0a7fc63 + d6717b4 commit 5bd09ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ ssf_node_anchors:
upstream: 'upstream'
commit:
# yamllint disable rule:line-length rule:quoted-strings
title: "ci(proxy+windows): fix setting up WinRM"
body: '* Automated using https://github.com/myii/ssf-formula/pull/392'
title: "ci(proxy): replace deprecated Windows '`'2016'`' with '`'2022'`' [skip ci]"
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/393'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -337,7 +337,10 @@ ssf:
source: 'salt://ssf/files/default/git/git_30_create_PR.sh'
proxyplatformswindows:
### `windows`
- [windows , 2022 , latest, 3] # wind-2022-latest-py3
- [windows , 2019 , latest, 3] # wind-2019-latest-py3
proxyplatformswindows_deprecated:
### `windows`
- [windows , 2016 , latest, 3] # wind-2016-latest-py3
vagrantboxes:
### `freebsd`
Expand Down
2 changes: 1 addition & 1 deletion ssf/files/default/kitchen.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ provisioner:
# yamllint disable rule:line-length
init_environment: |
{%- for pkg in testing_windows.winrepo_ng %}
C:\salt\salt-call --local state.single file.managed `
salt-call --local state.single file.managed `
C:\Users\kitchen\AppData\Local\Temp\kitchen\srv\salt\win\repo-ng\{{ pkg }}.sls `
source=https://github.com/saltstack/salt-winrepo-ng/raw/master/{{ pkg }}.sls `
skip_verify=True makedirs=True
Expand Down
2 changes: 2 additions & 0 deletions ssf/files/default/test/integration/share/libraries/system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def build_platform_release
# rubocop:enable Style/NumericLiterals,Layout/LineLength
when 'windows_8.1_pro'
'8.1'
when 'windows_server_2022_datacenter'
'2022-server'
when 'windows_server_2019_datacenter'
'2019-server'
when 'windows_server_2016_datacenter'
Expand Down

0 comments on commit 5bd09ce

Please sign in to comment.