diff options
author | Tim Smith <tsmith@chef.io> | 2018-06-16 13:11:28 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-06-16 13:59:52 -0700 |
commit | 5d05a0fd0b589fefd5324255a3818415a2b63281 (patch) | |
tree | bf6627d298fe281d799514a43065a165e9d9aef5 /kitchen-tests/kitchen.travis.yml | |
parent | aa4f3285f3e49919e29f40337183fd0510baaee5 (diff) | |
download | chef-5d05a0fd0b589fefd5324255a3818415a2b63281.tar.gz |
Remove awesome customers testing and update kitchen configs
Awesome customers cookbook testing isn't even correct from learn chef anymore and it's not coming back in this form. There's no reason to keep carrying it around.
This change also deps on kitchen 1.21 and uses the new name for the configs. Much easier to find if you're browsing the source in Finder/Explorer.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests/kitchen.travis.yml')
-rw-r--r-- | kitchen-tests/kitchen.travis.yml | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/kitchen-tests/kitchen.travis.yml b/kitchen-tests/kitchen.travis.yml new file mode 100644 index 0000000000..7daf95195f --- /dev/null +++ b/kitchen-tests/kitchen.travis.yml @@ -0,0 +1,123 @@ +--- +driver: + name: dokken + privileged: true + chef_image: chef/chef + chef_version: current + +transport: + name: dokken + +provisioner: + name: chef_github + root_path: /opt/kitchen + require_chef_omnibus: latest + chef_omnibus_url: "https://omnitruck.chef.io/install.sh" + chef_omnibus_install_options: "-c current" + github_owner: "chef" + github_repo: "chef" + refname: <%= ENV['TRAVIS_COMMIT'] %> + ohai_refname: "master" + github_access_token: <%= ENV['KITCHEN_GITHUB_TOKEN'] %> + data_path: test/fixtures +# disable file provider diffs so we don't overflow travis' line limit + client_rb: + diff_disabled: true + +verifier: + name: inspec + format: progress + +platforms: +- name: amazonlinux + driver: + image: dokken/amazonlinux + pid_one_command: /sbin/init + intermediate_instructions: + # TODO: inspec 2.0 requires gcc-c++, adding here until it can be added to appbundler-updater + - RUN yum -y install sudo gcc-c++ + - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers + +- name: amazonlinux-2 + driver: + image: dokken/amazonlinux-2 + pid_one_command: /usr/lib/systemd/systemd + intermediate_instructions: + - RUN yum -y install sudo gcc-c++ + - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers + +- name: debian-8 + driver: + image: dokken/debian-8 + pid_one_command: /bin/systemd + intermediate_instructions: + - RUN /usr/bin/apt-get update + - RUN /usr/bin/apt-get -y install sudo + +- 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 -y install sudo + +- name: centos-6 + driver: + image: dokken/centos-6 + pid_one_command: /sbin/init + intermediate_instructions: + - RUN yum -y install sudo gcc-c++ + - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers + +- name: centos-7 + driver: + image: dokken/centos-7 + pid_one_command: /usr/lib/systemd/systemd + intermediate_instructions: + - RUN yum -y install sudo gcc-c++ + - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers + +- name: fedora-latest + driver: + image: dokken/fedora-latest + pid_one_command: /usr/lib/systemd/systemd + intermediate_instructions: + - RUN dnf -y install sudo gcc-c++ + - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers + +- name: ubuntu-14.04 + driver: + image: dokken/ubuntu-14.04 + pid_one_command: /sbin/init + intermediate_instructions: + - RUN /usr/bin/apt-get update + - RUN /usr/bin/apt-get -y install sudo + +- name: ubuntu-16.04 + driver: + image: dokken/ubuntu-16.04 + pid_one_command: /bin/systemd + intermediate_instructions: + - RUN /usr/bin/apt-get update + - RUN /usr/bin/apt-get -y install sudo + +- name: ubuntu-18.04 + driver: + image: dokken/ubuntu-18.04 + pid_one_command: /bin/systemd + intermediate_instructions: + - RUN /usr/bin/apt-get update + - RUN /usr/bin/apt-get -y install sudo + +- name: opensuse-leap + driver: + image: dokken/opensuse-leap + pid_one_command: /bin/systemd + intermediate_instructions: + - RUN /usr/bin/zypper install -y sudo gcc-c++ + +suites: + - name: base + run_list: + - recipe[base::default] |