Skip to content

Commit 39d4229

Browse files
authored
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 129f53d commit 39d4229

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
@@ -347,7 +347,8 @@ These are the linux flavors the Vagrantfile currently supports:
347347

348348
* ubuntu-1404 aka trusty
349349
* ubuntu-1604 aka xenial
350-
* debian-8 aka jessie, the current debian stable distribution
350+
* debian-8 aka jessie
351+
* debian-9 aka stretch, the current debian stable distribution
351352
* centos-6
352353
* centos-7
353354
* 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
@@ -18,6 +18,7 @@ class VagrantTestPlugin implements Plugin<Project> {
1818
'centos-6',
1919
'centos-7',
2020
'debian-8',
21+
'debian-9',
2122
'fedora-25',
2223
'oel-6',
2324
'oel-7',

0 commit comments

Comments
 (0)