mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00

* Test out the minor versions * update the maxsplit for the target_salt_version to account for minor versions passed in with dashes because kitchen does not like dots. * Blacklist 3005-1 and 3006-1 for git. * different approach to getting the target salt version * Adding missing kitchen files.
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
---
|
|
driver:
|
|
name: exec
|
|
|
|
provisioner:
|
|
sudo: true
|
|
salt_bootstrap_options: -MP stable %s
|
|
init_environment: |
|
|
echo 'auto_accept: true' > /tmp/auto-accept-keys.conf
|
|
sudo mkdir -p /etc/salt/master.d
|
|
sudo mv /tmp/auto-accept-keys.conf /etc/salt/master.d/auto-accept-keys.conf
|
|
brew install coreutils
|
|
sh -c 't=$(gshuf -i 1-15 -n 1); echo Sleeping $t seconds; sleep $t'
|
|
|
|
platforms:
|
|
- name: macos-12
|
|
- name: macos-11
|
|
- name: macos-1015
|
|
|
|
suites:
|
|
- name: old-stable-3003
|
|
provisioner:
|
|
salt_bootstrap_options: -MP old-stable %s
|
|
salt_version: 3003.4
|
|
salt_call_command: /opt/salt/bin/salt-call
|
|
- name: old-stable-3004
|
|
provisioner:
|
|
salt_bootstrap_options: -MP old-stable %s
|
|
salt_version: 3004.1
|
|
salt_call_command: /opt/salt/bin/salt-call
|
|
- name: old-stable-3005
|
|
provisioner:
|
|
salt_bootstrap_options: -MP old-stable %s
|
|
salt_version: 3005.1
|
|
salt_call_command: /opt/salt/bin/salt-call
|
|
- name: stable-3006
|
|
provisioner:
|
|
salt_version: 3006
|
|
salt_call_command: /opt/salt/salt-call
|
|
- name: stable-3006-1
|
|
provisioner:
|
|
salt_version: 3006.1
|
|
salt_call_command: /opt/salt/salt-call
|
|
- name: latest
|
|
provisioner:
|
|
salt_version: latest
|
|
salt_call_command: /opt/salt/salt-call
|
|
|
|
verifier:
|
|
command: pytest --cache-clear -v -s -ra --log-cli-level=debug -k "not test_ping" tests/integration/
|