Skip to content

Commit 6000040

Browse files
committed
Drop support for Ubuntu 14.04 (#40709)
With the 7.0.0 release, we are dropping support for Ubuntu 14.04. This commit removes this OS from our testing infrastructure.
1 parent 6f00952 commit 6000040

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

TESTING.asciidoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,13 @@ be downloaded again unless they have been updated to a new version.
340340
+
341341
. Run the tests with `./gradlew packagingTest`. This will cause Gradle to build
342342
the tar, zip, and deb packages and all the plugins. It will then run the tests
343-
on ubuntu-1404 and centos-7. We chose those two distributions as the default
343+
on ubuntu-1604 and centos-7. We chose those two distributions as the default
344344
because they cover deb and rpm packaging and SyvVinit and systemd.
345345

346346
You can choose which boxes to test by setting the `-Pvagrant.boxes` project property. All of
347347
the valid options for this property are:
348348

349-
* `sample` - The default, only chooses ubuntu-1404 and centos-7
349+
* `sample` - The default, only chooses ubuntu-1604 and centos-7
350350
* List of box names, comma separated (e.g. `oel-7,fedora-28`) - Chooses exactly the boxes listed.
351351
* `linux-all` - All linux boxes.
352352
* `windows-all` - All Windows boxes. If there are any Windows boxes which do not
@@ -364,11 +364,10 @@ will remain running and you'll have to stop them manually with `./gradlew stop`
364364

365365
All the regular vagrant commands should just work so you can get a shell in a
366366
VM running trusty by running
367-
`vagrant up ubuntu-1404 --provider virtualbox && vagrant ssh ubuntu-1404`.
367+
`vagrant up ubuntu-1604 --provider virtualbox && vagrant ssh ubuntu-1604`.
368368

369369
These are the linux flavors supported, all of which we provide images for
370370

371-
* ubuntu-1404 aka trusty
372371
* ubuntu-1604 aka xenial
373372
* ubuntu-1804 aka bionic beaver
374373
* debian-8 aka jessie
@@ -428,13 +427,13 @@ It's important to think of VMs like cattle. If they become lame you just shoot
428427
them and let vagrant reprovision them. Say you've hosed your precise VM:
429428

430429
----------------------------------------------------
431-
vagrant ssh ubuntu-1404 -c 'sudo rm -rf /bin'; echo oops
430+
vagrant ssh ubuntu-1604 -c 'sudo rm -rf /bin'; echo oops
432431
----------------------------------------------------
433432

434433
All you've got to do to get another one is
435434

436435
----------------------------------------------
437-
vagrant destroy -f ubuntu-1404 && vagrant up ubuntu-1404 --provider virtualbox
436+
vagrant destroy -f ubuntu-1604 && vagrant up ubuntu-1604 --provider virtualbox
438437
----------------------------------------------
439438

440439
The whole process takes a minute and a half on a modern laptop, two and a half

Vagrantfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ Vagrant.configure(2) do |config|
4646
PROJECT_DIR = ENV['VAGRANT_PROJECT_DIR'] || Dir.pwd
4747
config.vm.synced_folder PROJECT_DIR, '/project'
4848

49-
'ubuntu-1404'.tap do |box|
50-
config.vm.define box, define_opts do |config|
51-
config.vm.box = 'elastic/ubuntu-14.04-x86_64'
52-
deb_common config, box
53-
end
54-
end
5549
'ubuntu-1604'.tap do |box|
5650
config.vm.define box, define_opts do |config|
5751
config.vm.box = 'elastic/ubuntu-16.04-x86_64'

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class VagrantTestPlugin implements Plugin<Project> {
3131
'oel-7',
3232
'opensuse-42',
3333
'sles-12',
34-
'ubuntu-1404',
3534
'ubuntu-1604',
3635
'ubuntu-1804'
3736
])
@@ -48,7 +47,7 @@ class VagrantTestPlugin implements Plugin<Project> {
4847
/** Boxes used when sampling the tests **/
4948
static final List<String> SAMPLE = unmodifiableList([
5049
'centos-7',
51-
'ubuntu-1404'
50+
'ubuntu-1604'
5251
])
5352

5453
/** All distributions to bring into test VM, whether or not they are used **/

0 commit comments

Comments
 (0)