* Semi-automated using https://github.com/myii/ssf-formula/pull/393tags/v1.10.0
KITCHEN_LOCAL_YAML: 'kitchen.windows.yml' | KITCHEN_LOCAL_YAML: 'kitchen.windows.yml' | ||||
jobs: | jobs: | ||||
test-2019: | |||||
runs-on: 'windows-2019' | |||||
test-2022: | |||||
runs-on: 'windows-2022' | |||||
strategy: | strategy: | ||||
fail-fast: false | fail-fast: false | ||||
matrix: | matrix: | ||||
instance: | instance: | ||||
- default-windows-2019-latest-py3 | |||||
- default-windows-2022-latest-py3 | |||||
steps: | steps: | ||||
- name: 'Check out code' | - name: 'Check out code' | ||||
uses: 'actions/checkout@v2' | uses: 'actions/checkout@v2' | ||||
bundle install --jobs 4 --retry 3 | bundle install --jobs 4 --retry 3 | ||||
- name: 'Run Test Kitchen' | - name: 'Run Test Kitchen' | ||||
run: 'bundle exec kitchen verify ${{ matrix.instance }}' | run: 'bundle exec kitchen verify ${{ matrix.instance }}' | ||||
test-2016: | |||||
runs-on: 'windows-2016' | |||||
test-2019: | |||||
runs-on: 'windows-2019' | |||||
strategy: | strategy: | ||||
fail-fast: false | fail-fast: false | ||||
matrix: | matrix: | ||||
instance: | instance: | ||||
- default-windows-2016-latest-py3 | |||||
- default-windows-2019-latest-py3 | |||||
steps: | steps: | ||||
- name: 'Check out code' | - name: 'Check out code' | ||||
uses: 'actions/checkout@v2' | uses: 'actions/checkout@v2' |
salt_bootstrap_options: -pythonVersion 3 -version 3003.3 | salt_bootstrap_options: -pythonVersion 3 -version 3003.3 | ||||
# yamllint disable rule:line-length | # yamllint disable rule:line-length | ||||
init_environment: | | init_environment: | | ||||
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\salt-minion-py3.sls ` | C:\Users\kitchen\AppData\Local\Temp\kitchen\srv\salt\win\repo-ng\salt-minion-py3.sls ` | ||||
source=https://github.com/saltstack/salt-winrepo-ng/raw/master/salt-minion-py3.sls ` | source=https://github.com/saltstack/salt-winrepo-ng/raw/master/salt-minion-py3.sls ` | ||||
skip_verify=True makedirs=True | skip_verify=True makedirs=True | ||||
# yamllint enable rule:line-length | # yamllint enable rule:line-length | ||||
platforms: | platforms: | ||||
- name: windows-2019-latest-py3 | |||||
- name: windows-2022-latest-py3 | |||||
verifier: | verifier: | ||||
inputs: | inputs: | ||||
saltmajorversion: 3003 | saltmajorversion: 3003 | ||||
- name: windows-2016-latest-py3 | |||||
- name: windows-2019-latest-py3 | |||||
verifier: | verifier: | ||||
inputs: | inputs: | ||||
saltmajorversion: 3003 | saltmajorversion: 3003 |
# yamllint disable rule:indentation rule:line-length | |||||
# Windows-2022Server | |||||
--- | |||||
values: | |||||
formulas_settings: | |||||
checkout_orig_branch: false | |||||
git_opts: | |||||
default: | |||||
basedir: "/srv/formulas" | |||||
baseurl: https://github.com/saltstack-formulas | |||||
options: | |||||
output_loglevel: quiet | |||||
rev: master | |||||
update: false | |||||
list: {} | |||||
salt_settings: | |||||
api_service: salt-api | |||||
api_service_details: | |||||
enabled: true | |||||
state: running | |||||
clean_config_d_dir: true | |||||
cloud: | |||||
template_sources: | |||||
maps: salt://salt/files/cloud.maps.d | |||||
profiles: salt://salt/files/cloud.profiles.d | |||||
providers: salt://salt/files/cloud.providers.d | |||||
config_path: C:\salt\conf | |||||
gitfs: | |||||
dulwich: | |||||
install_from_source: true | |||||
gitpython: | |||||
install_from_source: false | |||||
pygit2: | |||||
git: | |||||
install_from_package: git | |||||
require_state: false | |||||
install_from_source: true | |||||
libgit2: | |||||
build_parent_dir: "/usr/src/" | |||||
download_hash: 683d1164e361e2a0a8d52652840e2340 | |||||
install_from_source: true | |||||
version: 0.23.0 | |||||
version: 0.23.0 | |||||
install_packages: true | |||||
master: | |||||
ext_pillar: | |||||
- cmd_yaml: cat /etc/salt/yaml | |||||
- stack: | |||||
- /path/to/stack1.cfg | |||||
- /path/to/stack2.cfg | |||||
- reclass: | |||||
inventory_base_uri: /etc/reclass | |||||
- saltclass: | |||||
- path: "/srv/saltclass" | |||||
file_roots: | |||||
base: | |||||
- "/srv/salt" | |||||
fileserver_backend: | |||||
- rootfs | |||||
gitfs_provider: gitpython | |||||
pillar_roots: | |||||
base: | |||||
- "/srv/pillar" | |||||
master_config_use_TOFS: false | |||||
master_remove_config: false | |||||
master_service: salt-master | |||||
master_service_details: | |||||
enabled: true | |||||
state: running | |||||
minion: | |||||
file_roots: | |||||
base: | |||||
- "/srv/salt" | |||||
fileserver_backend: | |||||
- rootfs | |||||
master: localhost | |||||
master_type: str | |||||
pillar_roots: | |||||
base: | |||||
- "/srv/pillar" | |||||
minion_config_use_TOFS: false | |||||
minion_remove_config: false | |||||
minion_service: salt-minion | |||||
minion_service_details: | |||||
enabled: true | |||||
state: running | |||||
parallel: false | |||||
pin_version: false | |||||
pkgrepo: '' | |||||
py_ver: py3 | |||||
python_dulwich: python-dulwich | |||||
python_git: python-git | |||||
release: '3003' | |||||
restart_via_at: false | |||||
retry_options: | |||||
attempts: 5 | |||||
interval: 10 | |||||
splay: 10 | |||||
until: true | |||||
rootgroup: root | |||||
rootuser: kitchen | |||||
salt_api: salt-api | |||||
salt_cloud: salt-cloud | |||||
salt_master: salt-master | |||||
salt_master_macos_plist_hash: '' | |||||
salt_minion: salt-minion-py3 | |||||
salt_minion_macos_plist_hash: '' | |||||
salt_ssh: salt-ssh | |||||
salt_syndic: salt-syndic | |||||
ssh_roster: {} | |||||
syndic_service: salt-syndic | |||||
use_pip: false | |||||
version: '' |
# rubocop:enable Style/NumericLiterals,Layout/LineLength | # rubocop:enable Style/NumericLiterals,Layout/LineLength | ||||
when 'windows_8.1_pro' | when 'windows_8.1_pro' | ||||
'8.1' | '8.1' | ||||
when 'windows_server_2022_datacenter' | |||||
'2022-server' | |||||
when 'windows_server_2019_datacenter' | when 'windows_server_2019_datacenter' | ||||
'2019-server' | '2019-server' | ||||
when 'windows_server_2016_datacenter' | when 'windows_server_2016_datacenter' |