Testing updates
Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
parent
4a17dd96aa
commit
99b366e384
4
.gitignore
vendored
4
.gitignore
vendored
@ -37,13 +37,11 @@ doc/
|
|||||||
# chef stuff
|
# chef stuff
|
||||||
Berksfile.lock
|
Berksfile.lock
|
||||||
.kitchen
|
.kitchen
|
||||||
.kitchen.local.yml
|
kitchen.local.yml
|
||||||
vendor/
|
vendor/
|
||||||
.coverage/
|
.coverage/
|
||||||
.zero-knife.rb
|
.zero-knife.rb
|
||||||
Policyfile.lock.json
|
Policyfile.lock.json
|
||||||
Cheffile.lock
|
|
||||||
.librarian/
|
|
||||||
|
|
||||||
# vagrant stuff
|
# vagrant stuff
|
||||||
.vagrant/
|
.vagrant/
|
||||||
|
|||||||
@ -5,7 +5,6 @@ addons:
|
|||||||
packages:
|
packages:
|
||||||
- chef-workstation
|
- chef-workstation
|
||||||
|
|
||||||
# Don't `bundle install` which takes about 1.5 mins
|
|
||||||
install: echo "skip bundle install"
|
install: echo "skip bundle install"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -38,13 +37,11 @@ before_script:
|
|||||||
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
|
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
|
||||||
- eval "$(chef shell-init bash)"
|
- eval "$(chef shell-init bash)"
|
||||||
- chef --version
|
- chef --version
|
||||||
- cookstyle --version
|
|
||||||
- foodcritic --version
|
|
||||||
|
|
||||||
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
|
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- script:
|
- script:
|
||||||
- chef exec delivery local all
|
- delivery local all
|
||||||
|
|
||||||
|
|||||||
2
Gemfile
2
Gemfile
@ -1,5 +1,5 @@
|
|||||||
# This gemfile provides additional gems for testing and releasing this cookbook
|
# This gemfile provides additional gems for testing and releasing this cookbook
|
||||||
# It is meant to be installed on top of ChefDK which provides the majority
|
# It is meant to be installed on top of ChefDK / Chef Workstation which provide the majority
|
||||||
# of the necessary gems for testing this cookbook
|
# of the necessary gems for testing this cookbook
|
||||||
#
|
#
|
||||||
# Run 'chef exec bundle install' to install these dependencies
|
# Run 'chef exec bundle install' to install these dependencies
|
||||||
|
|||||||
@ -20,16 +20,16 @@ platforms:
|
|||||||
image: dokken/amazonlinux
|
image: dokken/amazonlinux
|
||||||
pid_one_command: /sbin/init
|
pid_one_command: /sbin/init
|
||||||
|
|
||||||
- name: debian-8
|
- name: debian-9
|
||||||
driver:
|
driver:
|
||||||
image: dokken/debian-8
|
image: dokken/debian-9
|
||||||
pid_one_command: /bin/systemd
|
pid_one_command: /bin/systemd
|
||||||
intermediate_instructions:
|
intermediate_instructions:
|
||||||
- RUN /usr/bin/apt-get update
|
- RUN /usr/bin/apt-get update
|
||||||
|
|
||||||
- name: debian-9
|
- name: debian-10
|
||||||
driver:
|
driver:
|
||||||
image: dokken/debian-9
|
image: dokken/debian-10
|
||||||
pid_one_command: /bin/systemd
|
pid_one_command: /bin/systemd
|
||||||
intermediate_instructions:
|
intermediate_instructions:
|
||||||
- RUN /usr/bin/apt-get update
|
- RUN /usr/bin/apt-get update
|
||||||
|
|||||||
@ -14,9 +14,9 @@ platforms:
|
|||||||
box: mvbcoding/awslinux
|
box: mvbcoding/awslinux
|
||||||
- name: centos-6
|
- name: centos-6
|
||||||
- name: centos-7
|
- name: centos-7
|
||||||
- name: debian-8
|
- name: debian-10
|
||||||
run_list: apt::default
|
run_list: apt::default
|
||||||
- name: debian-9
|
- name: debian-10
|
||||||
run_list: apt::default
|
run_list: apt::default
|
||||||
- name: fedora-26
|
- name: fedora-26
|
||||||
- name: opensuse-leap-42
|
- name: opensuse-leap-42
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user