Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update depends chef_version < 18.0 #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
- name: Lint cookbook
run: bundle exec foodcritic --context --epic-fail any .
- name: Run rspec tests
run: bundle exec rspec -fd test/cookbooks/testrig/spec/chefspec.r
run: bundle exec rspec -fd test/cookbooks/testrig/spec/chefspec.rb

kitchen-test:
runs-on: ubuntu-20.04
needs: lint

strategy:
matrix:
chef-version: [14, 15, 16]
chef-version: [14, 15, 16, 17]
os:
- amazonlinux
- amazonlinux-2
Expand Down
10 changes: 10 additions & 0 deletions .kitchen.vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,13 @@ suites:
prometheus_exporters:
node:
collectors_disabled: ["wifi"]
- name: chef-17
run_list:
- recipe[testrig]
provisioner:
product_name: chef
product_version: 16
attributes:
prometheus_exporters:
node:
collectors_disabled: ["wifi"]
9 changes: 9 additions & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,12 @@ suites:
prometheus_exporters:
node:
collectors_disabled: ["wifi"]
- name: chef-17
run_list:
- recipe[testrig]
driver:
chef_version: 17
attributes:
prometheus_exporters:
node:
collectors_disabled: ["wifi"]
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ env:
global:
- KITCHEN_YAML=.kitchen.yml
matrix:
- INSTANCE=chef-16-ubuntu-1804
- INSTANCE=chef-17-ubuntu-1804
- INSTANCE=chef-17-ubuntu-1604
- INSTANCE=chef-17-fedora-31
- INSTANCE=chef-17-fedora-30
- INSTANCE=chef-17-centos-7
- INSTANCE=chef-17-debian-10
- INSTANCE=chef-17-debian-9
- INSTANCE=chef-17-debian-8
- INSTANCE=chef-17-amazonlinux-2
- INSTANCE=chef-17-amazonlinux
- INSTANCE=chef-17-ubuntu-1804
- INSTANCE=chef-16-ubuntu-1604
- INSTANCE=chef-16-fedora-31
- INSTANCE=chef-16-fedora-30
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

version '0.17.3'

chef_version '>= 12.11', '< 17.0'
chef_version '>= 12.11', '< 18.0'

supports 'amazon'
supports 'centos', '>= 6.9'
Expand Down