Skip to content

Commit

Permalink
Patch/dependencies update (#85)
Browse files Browse the repository at this point in the history
* update chef infra supported versions and dnsimple gem version
  • Loading branch information
AGS4NO authored Aug 11, 2023
1 parent 656af62 commit 3876b2d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install Chef Workstation
uses: actionshub/chef-install@main
- name: Install DNSimple gem
run: chef gem install -N dnsimple -v '~> 7'
run: chef gem install -N dnsimple -v '~> 8'
env:
CHEF_LICENSE: accept-no-persist
- name: Rspec
Expand All @@ -70,10 +70,11 @@ jobs:
strategy:
matrix:
os:
- 'centos-7'
- 'centos-8'
- 'ubuntu-1804'
- 'rockylinux-8'
- 'rockylinux-9'
- 'ubuntu-2004'
- 'ubuntu-2204'
suite:
- 'create'
- 'update'
Expand All @@ -84,7 +85,7 @@ jobs:
- name: Install Chef Workstation
uses: actionshub/chef-install@main
- name: Install DNSimple gem
run: chef gem install -N dnsimple -v '~> 7'
run: chef gem install -N dnsimple -v '~> 8'
env:
CHEF_LICENSE: accept-no-persist
- name: Run Test Kitchen
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you used the dnsimple_certificate resource, you'll want to do the following t

* A [dnsimple](https://dnsimple.com/) account
* An [account access token](https://developer.dnsimple.com/v2/#account-tokens-vs-user-tokens) from said dnsimple account
* Chef 15 or newer
* Chef Client 17 or newer

## Attributes

Expand Down Expand Up @@ -177,6 +177,6 @@ See CONTRIBUTING.md

## License

Copyright 2021, DNSimple Corp.
Copyright 2023, DNSimple Corp.

Licensed under the Apache License, Version 2.0.
21 changes: 13 additions & 8 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,33 @@ verifier:
test_domain: <%= ENV['DNSIMPLE_TEST_DOMAIN'] || 'dnsimple.xyz' %>

platforms:
- name: ubuntu-18.04
- name: ubuntu-20.04
driver:
image: dokken/ubuntu-18.04
image: dokken/ubuntu-20.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update

- name: ubuntu-20.04
- name: ubuntu-22.04
driver:
image: dokken/ubuntu-20.04
image: dokken/ubuntu-22.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update

- name: centos-7
- name: centos-8
driver:
image: dokken/centos-7
image: dokken/centos-8
pid_one_command: /usr/lib/systemd/systemd

- name: centos-8
- name: rockylinux-8
driver:
image: dokken/centos-8
image: dokken/rockylinux-8
pid_one_command: /usr/lib/systemd/systemd

- name: rockylinux-9
driver:
image: dokken/rockylinux-9
pid_one_command: /usr/lib/systemd/systemd

suites:
Expand Down
4 changes: 2 additions & 2 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
source_url 'https://github.com/dnsimple/chef-dnsimple'
version '4.0.0'

chef_version '>= 15'
chef_version '>= 17'

gem 'dnsimple', '~> 7'
gem 'dnsimple', '~> 8'

%w(amazon centos debian fedora freebsd redhat ubuntu).each do |os|
supports os
Expand Down

0 comments on commit 3876b2d

Please sign in to comment.