Commit graph

86 commits

Author SHA1 Message Date
Andrea Selva
1971e9e8ee
Defined the versions of JDK to use in test build separated by OS (#11768) 2020-04-09 18:58:24 +02:00
Rob Bavey
58314a7f0e
Update gradle version to 6.3 (#11742)
* Update gradle version to 6.3

Gradle versions prior to 6.3 cannot run under JDK14.
This commit upgrades the version of Gradle to 6.3, and removes all deprecation warnings that can currently be removed.

Changes include:
* Increase gradle memory to 2g
* Increase gradle memory in the license check job to 2g
* Replace use of `testCompile`
* Replace `runtime` with `runtimeOnly`
* Remove`compile` depedencies from gradle files
* Replace deprecated archive methods
* Fix dependencies report build
* Make jruby dependencies 'api', fix archiveVersion
* Set `duplicatesStrategy` for all tasks of type Copy
* Use `configureEach` for global 'withType' calls
** Use the recommended Tasks API calls
(https://blog.gradle.org/preview-avoiding-task-configuration-time)
* Run `./gradlew wrapper` earlier to improve caching
* Use copy with chown for resources that need to be run during `./gradlew wrapper`
2020-04-07 12:49:36 -04:00
andsel
b2d1b880a6 Introduced JDK environment variable to explicitly pass the JAVA_HOME to use, expanded Xmx usable by Gradle
Fixes #11708
2020-03-30 10:53:18 +00:00
Rob Bavey
786d5851c2
Update Logstash release for 6.8 branch to 6.8.7 (#11659)
Released version of logstash for 6.8 branch was inadvertently changed
 to the next version on the 6.8 branch, rather than the latest released
 version.
2020-03-05 12:44:34 -05:00
João Duarte
8698ec068f
Update logstash_releases.json with 6.8.8 and 7.6.1 (#11658) 2020-03-05 13:58:18 +00:00
Rob Bavey
704e247e32
Updated releases.json after 7.6.0 release (#11595) 2020-02-12 08:56:25 -05:00
Joao Duarte
a36fdb9050 fail license report job on missing licenses
Fixes #11554
2020-01-31 12:36:41 +00:00
Ry Biesemeyer
715295cdbe Update logstash_releases.json to include 6.8.6 and 7.5.1 releases (#11454) 2020-01-03 09:49:25 +00:00
João Duarte
f078458ab5
Update logstash_releases.json (#11364)
Updates:

* 7.x to 7.5.0
* 7.x snapshot to 7.6.0-SNAPSHOT
* 6.8 to 6.8.5
2019-12-02 17:04:45 +00:00
Rob Bavey
a6afa59123
Update Logstash releases (#11300)
Updating, as this is missing out on the latest 6.8 and 7.4 releases
2019-11-12 12:08:26 -05:00
João Duarte
7f4b0210b9
Update releases manifest (#11187) 2019-10-03 15:27:58 +01:00
João Duarte
92fecc6046
bump 7.x release to 7.3.1 (#11077) 2019-08-23 16:25:43 +01:00
João Duarte
1882ce0df5
update releases file (#11009) 2019-07-31 17:04:43 +01:00
Rob Bavey
2f9a76073a Bump releases.json file for 7.2.1 (#10998) 2019-07-31 12:57:19 +01:00
Dan Hermann
76a35971d0
Update for 6.8.2 release (#11005) 2019-07-30 11:37:26 -05:00
Rob Bavey
3649c7d32b
Update logstash releases to reflect 6.8.1 release (#10975) 2019-07-18 13:25:14 -04:00
João Duarte
5918c09c2d
Update logstash_releases.json 2019-07-15 10:09:15 +01:00
João Duarte
5398e58a24
Update logstash_releases.json 2019-05-28 16:30:55 +01:00
João Duarte
8af616777b
Update 5.x release on logstash_releases.json to 5.6.16 (#10686) 2019-04-12 22:06:45 +01:00
João Duarte
9c698bf92a
Update logstash_releases.json 2019-04-12 10:31:16 +01:00
João Duarte
3f36244494
Update logstash_releases.json (#10650)
this includes newly released 6.7.1 and 7.0.0-rc2
2019-04-04 16:42:15 +01:00
João Duarte
bb8d4fbc19
Update logstash_releases.json (#10627) 2019-04-04 11:24:07 +01:00
Ry Biesemeyer
7d8e9f3c22
add 8.x snapshot builds to exported CI matrix (#10439) 2019-02-13 07:36:57 -08:00
João Duarte
38e5e53def
Update logstash_releases.json (#10366) 2019-01-30 16:50:40 +00:00
João Duarte
a163b86c0b
Update logstash_releases.json 2018-12-12 11:25:49 +00:00
João Duarte
5c919f2831
Update logstash_releases.json 2018-12-09 09:59:49 +00:00
João Duarte
14a061431f
add reference json file with logstash releases (#10173) 2018-11-22 23:27:50 +00:00
Josh Soref
c6cd247ec3 Multiple spelling corrections (#9782)
* spelling: actually
* spelling: already
* spelling: concurrency
* spelling: constructor
* spelling: destinations
* spelling: different
* spelling: elasticsearch
* spelling: encoding
* spelling: error
* spelling: explicitly
* spelling: failings
* spelling: falsey
* spelling: guarantees
* spelling: having
* spelling: implementation
* spelling: logstash
* spelling: module
* spelling: multiple
* spelling: omitted
* spelling: overridden
* spelling: pipeline
* spelling: raspberry
* spelling: receive
* spelling: recommended
* spelling: registered
* spelling: registering
* spelling: shutdown
* spelling: signal
* spelling: specified
* spelling: successful
* spelling: successfully
* spelling: valuefied
* spelling: vector
2018-07-04 10:41:10 +01:00
Ry Biesemeyer
5b1cd67311 ci: ensure bundle installed before invoking bundle exec in cleanup
DRYs up cleanup code and prevents error that is raised when we attempt
to `bundle exec rake qa:vm:halt` when the bundle has not yet been installed.

Fixes #9803
2018-07-02 17:26:27 +00:00
Armin
0f1be10565 BUILD: Force utf-8 file encoding in java compilation
Fixes #9685
2018-05-30 09:53:57 +00:00
Andrew Cholakian
eae1cc0d0a Correctly CD between dirs in ci/acceptance-tests.sh
This correctly CDs back and forth between dirs and tracks things
with variables to make it easier on the brain than relative paths like '..'

Fixes #9657
2018-05-24 19:49:30 +00:00
Andrew Cholakian
03427d81a2 Fix VM halt task for acceptance tasks by CDing correctly
We were in the wrong dir before, we need to be in the qa dir to shutdown correctly

Fixes #9651
2018-05-24 14:01:31 +00:00
Andrew Cholakian
f8afd2fb39 Make commands to run all acceptance VMs actually do that.
Also, take conservative approach of halting any somehow stale VMs before building

Fixes #9642
2018-05-23 19:23:39 +00:00
Andrew Cholakian
55cd1875a2 Always halt vagrant instances when on CI server.
We were having issues with lots of stale VMs being left around. This, hopefully, fixes it.

Fixes #9642
2018-05-23 19:23:39 +00:00
Andrew Cholakian
e2a6d8b753 Enable TEST_DEBUG on CI servers
Some tests are impossible to debug since log messages are not echoed without this,
including fatal/error messages. This makes output more verbose, but actually debuggable.

We should really delete this 'functionality' from https://github.com/elastic/logstash-devutils/blob/master/lib/logstash/devutils/rspec/spec_helper.rb#L36
since it does more harm than good.

Fixes #9629
2018-05-22 14:50:34 +00:00
Andrew Cholakian
bf21f97eb3 Fix the license check CI task
This does a few small things:

1. Prefer invoking rake tasks via ./gradlew vs rake. This prevents Java from segfaulting on docker for unknown reasons
2. Remove use of COPYING.csv which has already been removed

Fixes #9583
2018-05-15 23:31:12 +00:00
Armin
b9cd58639c BUILD: Fix the docker build script to correctly see exit code
Fixes #9567
2018-05-14 02:37:26 +00:00
Andrew Cholakian
30e524e5ee Improved NOTICE.txt generation
Fixes #9530
2018-05-10 16:14:45 +00:00
Andrew Cholakian
cb0edd6f21 Add docker ci script for license check
Fixes #9514
2018-05-02 16:26:10 +00:00
Andrew Cholakian
00777ba027 Add ci script for license check
Fixes #9513
2018-05-02 15:49:02 +00:00
Jenkins CI
93cad10da1 Migrate x-pack-logstash source to logstash 2018-04-24 10:46:15 -05:00
Andrew Cholakian
7f4fcda8b0 Docker CI Images should cleanup in the event of an unclean exit.
Fixes #9279
2018-03-22 22:12:07 +00:00
Andrew Cholakian
7cb08df480 DRY docker shell scripts for use with docker CI
We'll be using ci/docker_run.sh to run our x-pack build scripts soon,
so this refactor makes sense

Fixes #9245
2018-03-15 23:50:33 +00:00
Andrew Cholakian
ee987ef5fc Set gradle log level to info on CI
Fixes #9240
2018-03-14 22:02:27 +00:00
Andrew Cholakian
041fca924f Never use gradle daemon on CI servers
We've had some issues with builds crashing the gradle daemon on CI servers. This can obfuscate errors.
This patch removes its usage in CI.

This is considered a gradle best practice: https://docs.gradle.org/current/userguide/gradle_daemon.html#sec:stopping_an_existing_daemon

Fixes #9240
2018-03-14 22:02:27 +00:00
Armin
86bf8dbb37 BUILD: Run rake tasks in Gradle JVM
Fixes #8941
2018-01-17 11:57:16 +00:00
Armin
e653f7e707 BUILD: Prevent zombie Docker Runs
Fixes #8953
2018-01-16 16:28:06 +00:00
Jake Landis
5c5619ff4e Minor: remove rake test:core-fail-fast
Fixes #8742

Fixes #8763
2017-11-29 19:48:00 +00:00
Jake Landis
b2514f2437 windows ci: remove rake in favor of gradle
fixes #8732

Fixes #8743
2017-11-28 14:34:45 +00:00
Armin
3aaea2f7e5 #8672 adjust gradle to use plain output on CI
Fixes #8678
2017-11-15 09:44:43 +00:00