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 ...@@ -19,17 +19,17 @@ services: docker
env: env:
matrix: matrix:
- INSTANCE=default-centos-7 - INSTANCE=default-centos-7
- INSTANCE=default-debian-8
- INSTANCE=default-debian-9 - INSTANCE=default-debian-9
- INSTANCE=default-debian-10
- INSTANCE=default-ubuntu-1604 - INSTANCE=default-ubuntu-1604
- INSTANCE=default-ubuntu-1804 - INSTANCE=default-ubuntu-1804
- INSTANCE=cacher-debian-8
- INSTANCE=cacher-debian-9 - INSTANCE=cacher-debian-9
- INSTANCE=cacher-debian-10
- INSTANCE=cacher-ubuntu-1604 - INSTANCE=cacher-ubuntu-1604
- INSTANCE=compile-time-ubuntu-1604 - INSTANCE=compile-time-ubuntu-1604
- INSTANCE=compile-time-ubuntu-1804 - INSTANCE=compile-time-ubuntu-1804
- INSTANCE=compile-time-debian-8
- INSTANCE=compile-time-debian-9 - INSTANCE=compile-time-debian-9
- INSTANCE=compile-time-debian-10
- INSTANCE=unattended-upgrades-ubuntu-1604 - INSTANCE=unattended-upgrades-ubuntu-1604
before_script: before_script:
......
...@@ -15,15 +15,19 @@ verifier: ...@@ -15,15 +15,19 @@ verifier:
name: inspec name: inspec
platforms: platforms:
- name: debian-8 - name: debian-9
driver: driver:
image: dokken/debian-8 image: debian:9
pid_one_command: /bin/systemd 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: driver:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234 # 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 pid_one_command: /bin/systemd
intermediate_instructions: intermediate_instructions:
- RUN /usr/bin/apt-get update - RUN /usr/bin/apt-get update
......
...@@ -11,8 +11,8 @@ verifier: ...@@ -11,8 +11,8 @@ verifier:
platforms: platforms:
- name: centos-7 - name: centos-7
- name: debian-8
- name: debian-9 - name: debian-9
- name: debian-10
- name: ubuntu-16.04 - name: ubuntu-16.04
- name: ubuntu-18.04 - name: ubuntu-18.04
- name: ubuntu-16.04-chef-13.3 - name: ubuntu-16.04-chef-13.3
......
...@@ -15,7 +15,7 @@ describe 'apt::default' do ...@@ -15,7 +15,7 @@ describe 'apt::default' do
end end
it 'installs apt-transport-https, gnupg and dirmngr' do 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 end
it 'creates preseeding directory' do it 'creates preseeding directory' do
......
Supports Markdown
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