Unverified Commit cdf98ccd authored by Tim Smith's avatar Tim Smith Committed by GitHub

Merge pull request #12 from sous-chefs/kitchen

Test with kitchen-dokken in GitHub Actions
parents 4a6cb0c4 dbd43807
......@@ -32,4 +32,40 @@ jobs:
- name: Check out code
uses: actions/checkout@master
- name: Run Markdown Lint
uses: actionshub/markdownlint@master
\ No newline at end of file
uses: actionshub/markdownlint@master
dokken:
needs: [mdl, yamllint, delivery]
runs-on: ubuntu-latest
strategy:
matrix:
os:
- 'debian-9'
- 'debian-10'
- 'ubuntu-1604'
- 'ubuntu-1804'
- 'ubuntu-2004'
suite:
- 'default'
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@master
- name: Install Chef
uses: actionshub/chef-install@master
- name: Dokken
uses: actionshub/kitchen-dokken@master
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
final:
needs: [dokken]
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
......@@ -43,6 +43,6 @@ vendor/
.zero-knife.rb
Policyfile.lock.json
## vagrant stuff
# vagrant stuff
.vagrant/
.vagrant.d/
rules "~MD013"
\ No newline at end of file
......@@ -20,38 +20,38 @@ This file is used to list changes made in each version of the dpkg_autostart coo
_NOTE_: Release introduces minor breaking change due to updated interaction with resource collection.
* Fix script syntax in bin file (#7 thanks @hamann!)
* Allow multiple services and actions (#7 thanks @hamann!)
* Use `ResourceCollection#insert` when adding bin resource
* _NOTE_: This may require updating resource locations or adding the default recipe to the beginning of the run list
- Fix script syntax in bin file (#7 thanks @hamann!)
- Allow multiple services and actions (#7 thanks @hamann!)
- Use `ResourceCollection#insert` when adding bin resource
- _NOTE_: This may require updating resource locations or adding the default recipe to the beginning of the run list
## v0.1.12
* Be a noop except on debian family
- Be a noop except on debian family
## v0.1.10
* Add support for upstart services (thanks @bkw)
- Add support for upstart services (thanks @bkw)
## v0.1.8
* Add support for Chef 10 (#3)
* Properly update `resource_collection` when unshifting (#4)
* Thanks @mpasternacki
- Add support for Chef 10 (#3)
- Properly update `resource_collection` when unshifting (#4)
- Thanks @mpasternacki
## v0.1.6
* Fix version number
- Fix version number
## v0.1.4
* Use "heavyweight" resource/provider
* Fix execution error on initial runs (#2)
- Use "heavyweight" resource/provider
- Fix execution error on initial runs (#2)
## v0.1.2
* Add explicit `:create` action to template
- Add explicit `:create` action to template
## v0.1.0
* Initial commit
- Initial commit
......@@ -53,7 +53,7 @@ node.default['dpkg_autostart']['disabled_services'] = ['mysql-server', 'apache2'
## Related
* deb_pkg_unautostart: <http://ckbk.it/deb_pkg_unautostart>
- deb_pkg_unautostart: <http://ckbk.it/deb_pkg_unautostart>
## Contributors
......
......@@ -102,7 +102,7 @@ CONTRIBUTING*
TESTING*
CODE_OF_CONDUCT*
## vagrant #
# Vagrant #
###########
.vagrant
Vagrantfile
---
driver:
name: dokken
privileged: true # because Docker and SystemD/Upstart
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
chef_license: accept-no-persist
transport:
name: dokken
provisioner:
name: dokken
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: debian-9
driver:
image: dokken/debian-9
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: debian-10
driver:
image: dokken/debian-10
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: ubuntu-16.04
driver:
image: dokken/ubuntu-16.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: ubuntu-18.04
driver:
image: dokken/ubuntu-18.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: ubuntu-20.04
driver:
image: dokken/ubuntu-20.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
......@@ -10,8 +10,8 @@ verifier:
name: inspec
platforms:
- name: debian-8
- name: debian-9
- name: debian-10
- name: ubuntu-16.04
- name: ubuntu-18.04
- name: ubuntu-20.04
......@@ -19,4 +19,4 @@ platforms:
suites:
- name: default
run_list:
- recipe[test::default]
\ No newline at end of file
- recipe[test::default]
......@@ -6,5 +6,6 @@ license 'Apache-2.0'
source_url 'https://github.com/sous-chefs/dpkg_autostart'
issues_url 'https://github.com/sous-chefs/dpkg_autostart/issues'
version '0.3.0'
chef_version '>= 12.15'
supports 'ubuntu'
supports 'debian'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment