Skip to content

Commit 9cfcc73

Browse files
committed
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
1 parent 9954d4b commit 9cfcc73

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

TESTING.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ These are the linux flavors the Vagrantfile currently supports:
369369

370370
* ubuntu-1404 aka trusty
371371
* ubuntu-1604 aka xenial
372-
* debian-8 aka jessie, the current debian stable distribution
372+
* debian-8 aka jessie
373+
* debian-9 aka stretch, the current debian stable distribution
373374
* centos-6
374375
* centos-7
375376
* fedora-25

Vagrantfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ Vagrant.configure(2) do |config|
3333
[ -f /usr/share/java/jayatanaag.jar ] || install jayatana
3434
SHELL
3535
end
36-
# Wheezy's backports don't contain Openjdk 8 and the backflips required to
37-
# get the sun jdk on there just aren't worth it. We have jessie for testing
38-
# debian and it works fine.
36+
# Wheezy's backports don't contain Openjdk 8 and the backflips
37+
# required to get the sun jdk on there just aren't worth it. We have
38+
# jessie and stretch for testing debian and it works fine.
3939
config.vm.define "debian-8" do |config|
4040
config.vm.box = "elastic/debian-8-x86_64"
4141
deb_common config
4242
end
43+
config.vm.define "debian-9" do |config|
44+
config.vm.box = "elastic/debian-9-x86_64"
45+
deb_common config
46+
end
4347
config.vm.define "centos-6" do |config|
4448
config.vm.box = "elastic/centos-6-x86_64"
4549
rpm_common config

buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class VagrantTestPlugin implements Plugin<Project> {
1717
'centos-6',
1818
'centos-7',
1919
'debian-8',
20+
'debian-9',
2021
'fedora-25',
2122
'oel-6',
2223
'oel-7',

0 commit comments

Comments
 (0)