Tests: Add Debian 9 (Stretch) to the packaging tests

Debian 9 aka Stretch is the current stable[1].

Add Debian-9 to the packaging tests.

[1] https://wiki.debian.org/DebianStretch

Relates #25494
This commit is contained in:
Dimitrios Liappis 2017-07-03 11:02:17 +03:00 committed by GitHub
parent 129f53d914
commit 39d42292dd
3 changed files with 10 additions and 4 deletions

View File

@ -347,7 +347,8 @@ These are the linux flavors the Vagrantfile currently supports:
* ubuntu-1404 aka trusty * ubuntu-1404 aka trusty
* ubuntu-1604 aka xenial * ubuntu-1604 aka xenial
* debian-8 aka jessie, the current debian stable distribution * debian-8 aka jessie
* debian-9 aka stretch, the current debian stable distribution
* centos-6 * centos-6
* centos-7 * centos-7
* fedora-25 * fedora-25

10
Vagrantfile vendored
View File

@ -33,13 +33,17 @@ Vagrant.configure(2) do |config|
[ -f /usr/share/java/jayatanaag.jar ] || install jayatana [ -f /usr/share/java/jayatanaag.jar ] || install jayatana
SHELL SHELL
end end
# Wheezy's backports don't contain Openjdk 8 and the backflips required to # Wheezy's backports don't contain Openjdk 8 and the backflips
# get the sun jdk on there just aren't worth it. We have jessie for testing # required to get the sun jdk on there just aren't worth it. We have
# debian and it works fine. # jessie and stretch for testing debian and it works fine.
config.vm.define "debian-8" do |config| config.vm.define "debian-8" do |config|
config.vm.box = "elastic/debian-8-x86_64" config.vm.box = "elastic/debian-8-x86_64"
deb_common config deb_common config
end end
config.vm.define "debian-9" do |config|
config.vm.box = "elastic/debian-9-x86_64"
deb_common config
end
config.vm.define "centos-6" do |config| config.vm.define "centos-6" do |config|
config.vm.box = "elastic/centos-6-x86_64" config.vm.box = "elastic/centos-6-x86_64"
rpm_common config rpm_common config

View File

@ -18,6 +18,7 @@ class VagrantTestPlugin implements Plugin<Project> {
'centos-6', 'centos-6',
'centos-7', 'centos-7',
'debian-8', 'debian-8',
'debian-9',
'fedora-25', 'fedora-25',
'oel-6', 'oel-6',
'oel-7', 'oel-7',