Update test configs
Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
parent
9c9f1b246c
commit
e02959c414
@ -1,115 +1,77 @@
|
||||
driver:
|
||||
name: dokken
|
||||
privileged: true # because Docker and SystemD/Upstart
|
||||
chef_version: current
|
||||
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
|
||||
|
||||
transport:
|
||||
name: dokken
|
||||
|
||||
provisioner:
|
||||
name: dokken
|
||||
deprecations_as_errors: true
|
||||
|
||||
verifier:
|
||||
root_path: '/opt/verifier'
|
||||
sudo: false
|
||||
name: inspec
|
||||
|
||||
platforms:
|
||||
- name: amazonlinux
|
||||
driver:
|
||||
image: dokken/amazonlinux
|
||||
pid_one_command: /sbin/init
|
||||
|
||||
- name: debian-7
|
||||
driver:
|
||||
image: debian:7
|
||||
image: dokken/debian-7
|
||||
pid_one_command: /sbin/init
|
||||
intermediate_instructions:
|
||||
- RUN /usr/bin/apt-get update
|
||||
- RUN /usr/bin/apt-get install lsb-release procps -y
|
||||
|
||||
- name: debian-8
|
||||
driver:
|
||||
image: debian:8
|
||||
image: dokken/debian-8
|
||||
pid_one_command: /bin/systemd
|
||||
intermediate_instructions:
|
||||
- RUN /usr/bin/apt-get update
|
||||
|
||||
- name: debian-9
|
||||
driver:
|
||||
image: dokken/debian-9
|
||||
pid_one_command: /bin/systemd
|
||||
intermediate_instructions:
|
||||
- RUN /usr/bin/apt-get update
|
||||
- RUN /usr/bin/apt-get install lsb-release -y
|
||||
|
||||
- name: centos-6
|
||||
driver:
|
||||
image: centos:6
|
||||
image: dokken/centos-6
|
||||
platform: rhel
|
||||
pid_one_command: /sbin/init
|
||||
intermediate_instructions:
|
||||
- RUN yum -y install which initscripts
|
||||
|
||||
- name: centos-7
|
||||
driver:
|
||||
image: centos:7
|
||||
image: dokken/centos-7
|
||||
platform: rhel
|
||||
pid_one_command: /usr/lib/systemd/systemd
|
||||
intermediate_instructions:
|
||||
- RUN yum -y install lsof which systemd-sysv initscripts
|
||||
|
||||
- name: fedora-latest
|
||||
driver:
|
||||
image: fedora:latest
|
||||
image: dokken/fedora-latest
|
||||
pid_one_command: /usr/lib/systemd/systemd
|
||||
intermediate_instructions:
|
||||
- RUN dnf -y install which systemd-sysv initscripts
|
||||
|
||||
- name: ubuntu-14.04
|
||||
driver:
|
||||
image: ubuntu-upstart:14.04
|
||||
image: dokken/ubuntu-14.04
|
||||
pid_one_command: /sbin/init
|
||||
intermediate_instructions:
|
||||
- RUN /usr/bin/apt-get update
|
||||
|
||||
- name: ubuntu-16.04
|
||||
driver:
|
||||
image: ubuntu:16.04
|
||||
image: dokken/ubuntu-16.04
|
||||
pid_one_command: /bin/systemd
|
||||
intermediate_instructions:
|
||||
- RUN /usr/bin/apt-get update
|
||||
|
||||
- name: opensuse-leap
|
||||
driver:
|
||||
image: opensuse:leap
|
||||
image: dokken/opensuse-leap
|
||||
pid_one_command: /bin/systemd
|
||||
intermediate_instructions:
|
||||
- RUN zypper --non-interactive install aaa_base perl-Getopt-Long-Descriptive which hostname
|
||||
|
||||
suites:
|
||||
- name: default
|
||||
run_list:
|
||||
- recipe[postfix]
|
||||
|
||||
- name: aliases
|
||||
run_list:
|
||||
- recipe[postfix::aliases]
|
||||
|
||||
- name: client
|
||||
run_list:
|
||||
- recipe[postfix::client]
|
||||
|
||||
- name: server
|
||||
run_list:
|
||||
- recipe[postfix::server]
|
||||
attributes:
|
||||
postfix:
|
||||
use_relay_restrictions_maps: "yes"
|
||||
|
||||
- name: sasl_auth
|
||||
run_list:
|
||||
- recipe[postfix::sasl_auth]
|
||||
attributes:
|
||||
postfix:
|
||||
main:
|
||||
relayhost: "localhost"
|
||||
smtp_sasl_auth_enable: "yes"
|
||||
sasl:
|
||||
smtp_sasl_user_name: "kitchenuser"
|
||||
smtp_sasl_passwd: "not-a-real-thing"
|
||||
|
||||
- name: canonical
|
||||
run_list:
|
||||
- recipe[postfix]
|
||||
attributes:
|
||||
postfix:
|
||||
recipient_canonical_map_entries:
|
||||
john: john@doe.com
|
10
.kitchen.yml
10
.kitchen.yml
@ -3,16 +3,24 @@ driver:
|
||||
|
||||
provisioner:
|
||||
name: chef_zero
|
||||
deprecations_as_errors: true
|
||||
|
||||
verifier:
|
||||
name: inspec
|
||||
|
||||
platforms:
|
||||
- name: amazon-linux
|
||||
driver_config:
|
||||
box: mvbcoding/awslinux
|
||||
- name: centos-6.9
|
||||
- name: centos-7.3
|
||||
- name: debian-7.11
|
||||
run_list: apt::default
|
||||
- name: debian-8.8
|
||||
run_list: apt::default
|
||||
- name: debian-9.0
|
||||
run_list: apt::default
|
||||
- name: fedora-25
|
||||
- name: opensuse-13.2
|
||||
- name: opensuse-leap-42.2
|
||||
- name: ubuntu-14.04
|
||||
run_list: apt::default
|
||||
|
@ -21,12 +21,14 @@ env:
|
||||
matrix:
|
||||
- INSTANCE=default-centos-6
|
||||
- INSTANCE=default-centos-7
|
||||
- INSTANCE=default-debian-8
|
||||
- INSTANCE=default-debian-9
|
||||
- INSTANCE=default-ubuntu-1404
|
||||
- INSTANCE=default-ubuntu-1604
|
||||
- INSTANCE=canonical-centos-6
|
||||
- INSTANCE=canonical-centos-7
|
||||
- INSTANCE=canonical-debian-7
|
||||
- INSTANCE=canonical-debian-8
|
||||
- INSTANCE=canonical-debian-9
|
||||
- INSTANCE=canonical-ubuntu-1404
|
||||
- INSTANCE=canonical-ubuntu-1604
|
||||
|
||||
|
@ -82,6 +82,11 @@ Berksfile.lock
|
||||
cookbooks/*
|
||||
tmp
|
||||
|
||||
# Policyfile #
|
||||
##############
|
||||
Policyfile.rb
|
||||
Policyfile.lock.json
|
||||
|
||||
# Cookbooks #
|
||||
#############
|
||||
CONTRIBUTING*
|
||||
|
Loading…
x
Reference in New Issue
Block a user