Skip to content

Commit 8116345

Browse files
author
Toby McLaughlin
committed
Run packaging tests on RHEL 8 (#41662)
1 parent 7c6d799 commit 8116345

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

TESTING.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ These are the linux flavors supported, all of which we provide images for
374374
* debian-9 aka stretch, the current debian stable distribution
375375
* centos-6
376376
* centos-7
377+
* rhel-8
377378
* fedora-28
378379
* fedora-29
379380
* oel-6 aka Oracle Enterprise Linux 6

Vagrantfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ Vagrant.configure(2) do |config|
127127
sles_common config, box
128128
end
129129
end
130+
'rhel-8'.tap do |box|
131+
config.vm.define box, define_opts do |config|
132+
config.vm.box = 'elastic/rhel-8-x86_64'
133+
rpm_common config, box
134+
end
135+
end
130136

131137
windows_2012r2_box = ENV['VAGRANT_WINDOWS_2012R2_BOX']
132138
if windows_2012r2_box && windows_2012r2_box.empty? == false

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class VagrantTestPlugin implements Plugin<Project> {
3030
'oel-6',
3131
'oel-7',
3232
'opensuse-42',
33+
'rhel-8',
3334
'sles-12',
3435
'ubuntu-1604',
3536
'ubuntu-1804'

0 commit comments

Comments
 (0)