mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-05-20 17:54:27 +02:00
Merge 319cc516ff1d3c640fca89ebc4a6701a201891f1 into bf52207a9bcdfcba7abe27013c082594a8ae139d
This commit is contained in:
commit
08b10343d7
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'
|
KITCHEN_LOCAL_YAML: 'kitchen.macos.yml'
|
||||||
|
|
||||||
jobs:
|
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:
|
test-12:
|
||||||
runs-on: 'macos-12'
|
runs-on: 'macos-12'
|
||||||
strategy:
|
strategy:
|
||||||
@ -54,26 +77,3 @@ jobs:
|
|||||||
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-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:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: 'macos-10.15'
|
runs-on: 'macos-12'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@ -7,19 +7,19 @@ driver:
|
|||||||
provisioner:
|
provisioner:
|
||||||
sudo: true
|
sudo: true
|
||||||
salt_install: bootstrap
|
salt_install: bootstrap
|
||||||
salt_bootstrap_options: -P stable latest
|
salt_bootstrap_options: -P onedir 3006.1
|
||||||
salt_call_command: /opt/salt/bin/salt-call
|
salt_call_command: /opt/salt/bin/salt-call
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
|
- name: macos-13-latest-py3
|
||||||
|
verifier:
|
||||||
|
inputs:
|
||||||
|
saltmajorversion: 3006
|
||||||
- name: macos-12-latest-py3
|
- name: macos-12-latest-py3
|
||||||
verifier:
|
verifier:
|
||||||
inputs:
|
inputs:
|
||||||
saltmajorversion: 3004
|
saltmajorversion: 3006
|
||||||
- name: macos-11-latest-py3
|
- name: macos-11-latest-py3
|
||||||
verifier:
|
verifier:
|
||||||
inputs:
|
inputs:
|
||||||
saltmajorversion: 3004
|
saltmajorversion: 3006
|
||||||
- name: macos-1015-latest-py3
|
|
||||||
verifier:
|
|
||||||
inputs:
|
|
||||||
saltmajorversion: 3004
|
|
||||||
|
|||||||
@ -74,7 +74,7 @@ platforms:
|
|||||||
# yamllint enable rule:line-length
|
# yamllint enable rule:line-length
|
||||||
verifier:
|
verifier:
|
||||||
inputs:
|
inputs:
|
||||||
saltmajorversion: 3004
|
saltmajorversion: 3006
|
||||||
- name: windows-81-latest-py3
|
- name: windows-81-latest-py3
|
||||||
driver:
|
driver:
|
||||||
box: techneg/win81x64-pro-salt
|
box: techneg/win81x64-pro-salt
|
||||||
@ -98,4 +98,4 @@ platforms:
|
|||||||
# yamllint enable rule:line-length
|
# yamllint enable rule:line-length
|
||||||
verifier:
|
verifier:
|
||||||
inputs:
|
inputs:
|
||||||
saltmajorversion: 3004
|
saltmajorversion: 3006
|
||||||
|
|||||||
@ -11,7 +11,7 @@ driver:
|
|||||||
|
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_install: bootstrap
|
salt_install: bootstrap
|
||||||
salt_bootstrap_options: -pythonVersion 3 -version 3004.1-1
|
salt_bootstrap_options: -version onedir
|
||||||
# yamllint disable rule:line-length
|
# yamllint disable rule:line-length
|
||||||
init_environment: |
|
init_environment: |
|
||||||
salt-call --local state.single file.managed `
|
salt-call --local state.single file.managed `
|
||||||
@ -24,8 +24,8 @@ platforms:
|
|||||||
- name: windows-2022-latest-py3
|
- name: windows-2022-latest-py3
|
||||||
verifier:
|
verifier:
|
||||||
inputs:
|
inputs:
|
||||||
saltmajorversion: 3004
|
saltmajorversion: 3006
|
||||||
- name: windows-2019-latest-py3
|
- name: windows-2019-latest-py3
|
||||||
verifier:
|
verifier:
|
||||||
inputs:
|
inputs:
|
||||||
saltmajorversion: 3004
|
saltmajorversion: 3006
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user