mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
Switch CentOS / Ubuntu to use the dokken-images containers
These are setup to look more like VMs and they are what should be used with dokken. Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
parent
432d473bf9
commit
0a1fb48b4e
2 changed files with 63 additions and 40 deletions
26
.travis.yml
26
.travis.yml
|
@ -20,31 +20,39 @@ matrix:
|
|||
- rvm: 2.4.5
|
||||
script: bundle exec rake $SUITE
|
||||
env: SUITE="test:functional"
|
||||
- rvm: 2.4.5
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-ubuntu-1204]
|
||||
- rvm: 2.4.5
|
||||
env: SUITE=test:integration[default-ubuntu-1404]
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-ubuntu-1604]
|
||||
- rvm: 2.4.5
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-centos-68]
|
||||
- rvm: 2.4.5
|
||||
env: SUITE=test:integration[default-ubuntu-1804]
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-centos-6]
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-centos-7]
|
||||
- rvm: 2.4.5
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-debian-8]
|
||||
- rvm: 2.4.5
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-debian-9]
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-oracle-72]
|
||||
- rvm: 2.4.5
|
||||
- rvm: 2.5.3
|
||||
script: bundle exec rake $SUITE
|
||||
bundler_args: "--without tools maintenance deploy"
|
||||
env: SUITE=test:integration[default-fedora-24]
|
||||
|
|
77
kitchen.yml
77
kitchen.yml
|
@ -22,30 +22,60 @@ verifier:
|
|||
verifier_attribute: 'Attribute Override!'
|
||||
|
||||
platforms:
|
||||
- name: ubuntu-12.04
|
||||
- name: amazonlinux
|
||||
driver:
|
||||
image: ubuntu:12.04
|
||||
- name: ubuntu-14.04
|
||||
image: dokken/amazonlinux
|
||||
pid_one_command: /sbin/init
|
||||
|
||||
- name: amazonlinux-2
|
||||
driver:
|
||||
image: ubuntu:14.04
|
||||
- name: ubuntu-16.04
|
||||
image: dokken/amazonlinux-2
|
||||
pid_one_command: /usr/lib/systemd/systemd
|
||||
|
||||
- name: debian-8
|
||||
driver:
|
||||
image: ubuntu:16.04
|
||||
intermediate_instructions:
|
||||
- RUN /usr/bin/apt-get update
|
||||
image: dokken/debian-8
|
||||
pid_one_command: /bin/systemd
|
||||
- name: centos-6.6
|
||||
driver:
|
||||
image: centos:6.6
|
||||
- name: centos-6.8
|
||||
driver:
|
||||
image: centos:6.8
|
||||
intermediate_instructions:
|
||||
- RUN yum install -y initscripts
|
||||
- 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
|
||||
|
||||
- name: centos-6
|
||||
driver:
|
||||
image: dokken/centos-6
|
||||
pid_one_command: /sbin/init
|
||||
|
||||
- name: centos-7
|
||||
driver:
|
||||
image: centos:7
|
||||
image: dokken/centos-7
|
||||
pid_one_command: /usr/lib/systemd/systemd
|
||||
|
||||
- name: ubuntu-14.04
|
||||
driver:
|
||||
image: dokken/ubuntu-14.04
|
||||
pid_one_command: /sbin/init
|
||||
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: oracle-6.7
|
||||
driver:
|
||||
image: oraclelinux:6.7
|
||||
|
@ -53,21 +83,6 @@ platforms:
|
|||
driver:
|
||||
image: oraclelinux:7.2
|
||||
pid_one_command: /usr/lib/systemd/systemd
|
||||
- name: debian-7
|
||||
driver:
|
||||
image: debian:7.11
|
||||
intermediate_instructions:
|
||||
- RUN /usr/bin/apt-get update
|
||||
# running it within the chef recipe is too late :-(
|
||||
- RUN /usr/bin/apt-get install -y procps lsb-release
|
||||
- name: debian-8
|
||||
driver:
|
||||
image: debian:8.5
|
||||
intermediate_instructions:
|
||||
- RUN /usr/bin/apt-get update
|
||||
# running it within the chef recipe is too late :-(
|
||||
- RUN /usr/bin/apt-get install -y procps lsb-release
|
||||
pid_one_command: /bin/systemd
|
||||
- name: fedora-23
|
||||
driver:
|
||||
image: fedora:23
|
||||
|
|
Loading…
Reference in a new issue