Commit a2939105 authored by Tim Smith's avatar Tim Smith
Browse files

Test on Debian 10 not 8


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent ec68a607
......@@ -19,17 +19,17 @@ services: docker
env:
matrix:
- INSTANCE=default-centos-7
- INSTANCE=default-debian-8
- INSTANCE=default-debian-9
- INSTANCE=default-debian-10
- INSTANCE=default-ubuntu-1604
- INSTANCE=default-ubuntu-1804
- INSTANCE=cacher-debian-8
- INSTANCE=cacher-debian-9
- INSTANCE=cacher-debian-10
- INSTANCE=cacher-ubuntu-1604
- INSTANCE=compile-time-ubuntu-1604
- INSTANCE=compile-time-ubuntu-1804
- INSTANCE=compile-time-debian-8
- INSTANCE=compile-time-debian-9
- INSTANCE=compile-time-debian-10
- INSTANCE=unattended-upgrades-ubuntu-1604
before_script:
......
......@@ -15,15 +15,19 @@ verifier:
name: inspec
platforms:
- name: debian-8
- name: debian-9
driver:
image: dokken/debian-8
image: debian:9
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install -y systemd
- RUN rm /etc/systemd/system/getty.target.wants/getty\@tty1.service
- name: debian-9
- name: debian-10
driver:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
image: debian:10
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
......
......@@ -11,8 +11,8 @@ verifier:
platforms:
- name: centos-7
- name: debian-8
- name: debian-9
- name: debian-10
- name: ubuntu-16.04
- name: ubuntu-18.04
- name: ubuntu-16.04-chef-13.3
......
......@@ -15,7 +15,7 @@ describe 'apt::default' do
end
it 'installs apt-transport-https, gnupg and dirmngr' do
expect(chef_run).to install_package(['apt-transport-https', 'gnupg', 'dirmngr'])
expect(chef_run).to install_package(%w(apt-transport-https gnupg dirmngr))
end
it 'creates preseeding directory' do
......
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