Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
apt
Commits
a2939105
Commit
a2939105
authored
Aug 05, 2019
by
Tim Smith
Browse files
Test on Debian 10 not 8
Signed-off-by:
Tim Smith
<
tsmith@chef.io
>
parent
ec68a607
Changes
4
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
a2939105
...
...
@@ -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
:
...
...
kitchen.dokken.yml
View file @
a2939105
...
...
@@ -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
...
...
kitchen.yml
View file @
a2939105
...
...
@@ -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
...
...
spec/unit/recipes/default_spec.rb
View file @
a2939105
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment