mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2025-04-06 19:15:11 +02:00
fix: use supported macOS and Salt versions in CI
This commit is contained in:
parent
2a7a9decee
commit
0d7e4ff9ee
46
.github/workflows/kitchen.macos.yml
vendored
46
.github/workflows/kitchen.macos.yml
vendored
@ -8,6 +8,29 @@ env:
|
||||
KITCHEN_LOCAL_YAML: 'kitchen.macos.yml'
|
||||
|
||||
jobs:
|
||||
test-13:
|
||||
runs-on: 'macos-12'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
instance:
|
||||
- default-macos-13-latest-py3
|
||||
steps:
|
||||
- name: 'Check out code'
|
||||
uses: 'actions/checkout@v2'
|
||||
- name: 'Set up Bundler cache'
|
||||
uses: 'actions/cache@v1'
|
||||
with:
|
||||
path: 'vendor/bundle'
|
||||
key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
|
||||
restore-keys: "${{ runner.os }}-gems-"
|
||||
- name: 'Run Bundler'
|
||||
run: |
|
||||
ruby --version
|
||||
bundle config path vendor/bundle
|
||||
bundle install --jobs 4 --retry 3
|
||||
- name: 'Run Test Kitchen'
|
||||
run: 'bundle exec kitchen verify ${{ matrix.instance }}'
|
||||
test-12:
|
||||
runs-on: 'macos-12'
|
||||
strategy:
|
||||
@ -54,26 +77,3 @@ jobs:
|
||||
bundle install --jobs 4 --retry 3
|
||||
- name: 'Run Test Kitchen'
|
||||
run: 'bundle exec kitchen verify ${{ matrix.instance }}'
|
||||
test-1015:
|
||||
runs-on: 'macos-10.15'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
instance:
|
||||
- default-macos-1015-latest-py3
|
||||
steps:
|
||||
- name: 'Check out code'
|
||||
uses: 'actions/checkout@v2'
|
||||
- name: 'Set up Bundler cache'
|
||||
uses: 'actions/cache@v1'
|
||||
with:
|
||||
path: 'vendor/bundle'
|
||||
key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
|
||||
restore-keys: "${{ runner.os }}-gems-"
|
||||
- name: 'Run Bundler'
|
||||
run: |
|
||||
ruby --version
|
||||
bundle config path vendor/bundle
|
||||
bundle install --jobs 4 --retry 3
|
||||
- name: 'Run Test Kitchen'
|
||||
run: 'bundle exec kitchen verify ${{ matrix.instance }}'
|
||||
|
2
.github/workflows/kitchen.vagrant.yml
vendored
2
.github/workflows/kitchen.vagrant.yml
vendored
@ -9,7 +9,7 @@ env:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: 'macos-10.15'
|
||||
runs-on: 'macos-12'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -11,15 +11,15 @@ provisioner:
|
||||
salt_call_command: /opt/salt/bin/salt-call
|
||||
|
||||
platforms:
|
||||
- name: macos-13-latest-py3
|
||||
verifier:
|
||||
inputs:
|
||||
saltmajorversion: 3006
|
||||
- name: macos-12-latest-py3
|
||||
verifier:
|
||||
inputs:
|
||||
saltmajorversion: 3004
|
||||
saltmajorversion: 3006
|
||||
- name: macos-11-latest-py3
|
||||
verifier:
|
||||
inputs:
|
||||
saltmajorversion: 3004
|
||||
- name: macos-1015-latest-py3
|
||||
verifier:
|
||||
inputs:
|
||||
saltmajorversion: 3004
|
||||
saltmajorversion: 3006
|
||||
|
@ -74,7 +74,7 @@ platforms:
|
||||
# yamllint enable rule:line-length
|
||||
verifier:
|
||||
inputs:
|
||||
saltmajorversion: 3004
|
||||
saltmajorversion: 3006
|
||||
- name: windows-81-latest-py3
|
||||
driver:
|
||||
box: techneg/win81x64-pro-salt
|
||||
@ -98,4 +98,4 @@ platforms:
|
||||
# yamllint enable rule:line-length
|
||||
verifier:
|
||||
inputs:
|
||||
saltmajorversion: 3004
|
||||
saltmajorversion: 3006
|
||||
|
@ -11,7 +11,7 @@ driver:
|
||||
|
||||
provisioner:
|
||||
salt_install: bootstrap
|
||||
salt_bootstrap_options: -pythonVersion 3 -version 3004.1-1
|
||||
salt_bootstrap_options: -version latest
|
||||
# yamllint disable rule:line-length
|
||||
init_environment: |
|
||||
salt-call --local state.single file.managed `
|
||||
@ -24,8 +24,8 @@ platforms:
|
||||
- name: windows-2022-latest-py3
|
||||
verifier:
|
||||
inputs:
|
||||
saltmajorversion: 3004
|
||||
saltmajorversion: 3006
|
||||
- name: windows-2019-latest-py3
|
||||
verifier:
|
||||
inputs:
|
||||
saltmajorversion: 3004
|
||||
saltmajorversion: 3006
|
||||
|
Loading…
x
Reference in New Issue
Block a user