Commit graph

31 commits

Author SHA1 Message Date
Joao Duarte
c1680d977f Update jruby artifact downloading
* download urls moved to maven
* tarball naming scheme has changed

Fixes #9806

Fixes #9807
2018-07-02 11:29:33 +00:00
Andrew Cholakian
b51a000c46 Prefer gradle for installing default gems in license check
This prevents JVM segfaults, as seen in https://logstash-ci.elastic.co/job/elastic+logstash+6.3+multijob-license-check/34/console.

Invoking rake directly in docker causes these presently.

This was originally fixed in 8f03e82 and reverted in 31461b5. The revert, fixed the universal build system, but broke our jenkins / docker CI tasks.

Fixes #9648
2018-05-24 01:42:11 +00:00
Andrew Cholakian
534eaee868 Revert commit that broke dep report
This reverts commit 8f03e82249.

That was part of a larger series of changes that shouldn't be in 6.3

Fixes #9635
2018-05-22 15:00:36 +00:00
Andrew Cholakian
8f03e82249 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
2018-05-18 15:10:08 -05:00
Andrew Cholakian
57cee65757
Load tests via JUnit (backport of 2ea154a2 to 6.3) (#9579) 2018-05-15 14:57:07 -05:00
Jenkins CI
6e049269a9 Migrate x-pack-logstash source to logstash 2018-04-24 10:45:08 -05:00
Armin
55b457470a BUILD: Fix inconsistent naming of output tar.gz
Fixes #9397
2018-04-18 13:16:25 +00:00
Armin
7d7befa5e1 BUILD: Stop using Exec tasks for ITs
Fixes #9388
2018-04-17 14:02:55 +00:00
Armin
c86ab90093 MINOR+BUG: Clean doesn't delete gem jars for logstash-core
Fixes #9387
2018-04-17 11:53:52 +00:00
Andrew Cholakian
3729310e44 Hide proprietary tasks when OSS=true
Fixes #9238
2018-03-14 20:24:00 +00:00
Andrew Cholakian
99f1422db7 Add additional gradle tasks in anticipation of x-pack being opened
Fixes #9238
2018-03-14 20:24:00 +00:00
Andrew Cholakian
3f58730507 Add OSS variants of artifact rake tasks
These will omit the x-pack folder once it is merged in

Fixes #9223
2018-03-09 18:36:31 +00:00
Armin
0b29d84d70 BUILD: Fix wrong paths and wrong output declarations on installTestGems task
Fixes #9052
2018-01-29 14:27:54 +00:00
Armin
4f28195f0b MINOR: Cleanup dead field and wrong ruby path in build.gradle
Fixes #9040
2018-01-29 09:55:03 +00:00
Colin Surprenant
93962a86bc fix integration tests build 2018-01-24 10:29:25 -05:00
Armin
aa377cd98f BUILD: Run rake tasks in Gradle JVM
Fixes #8941
2018-01-17 11:57:16 +00:00
Armin
96e5b1142d MINOR: Update readme for building tar distribution
Fixes #8939
2018-01-15 14:22:47 +00:00
Armin
9cce3742c3 BUILD: Fix missing Gradle Cache Invalidations in Integration Test Build
Fixes #8680
2017-11-15 18:51:10 +00:00
Armin
9b6f97aa98 TESTS+BUG: Pass FEATURE_FLAG environment to Integration Tests
Fixes #8670
2017-11-14 20:14:29 +00:00
Armin
28dea84ce1 CR comments
Fixes #8599
2017-11-14 15:25:37 +00:00
Armin
26aae4f403 #7135 add Gradle task for bootstrapping and running all integration tests
Fixes #8599
2017-11-14 15:25:37 +00:00
Armin
85f5634f3e #8589 make Gradle bootstrap compatible with Windows (follow up)
Fixes #8626
2017-11-10 14:36:40 +00:00
Armin
b449cbe6b0 #8589 make Gradle bootstrap compatible with Windows
Fixes #8607
2017-11-08 15:24:50 +00:00
Armin
1498b68848 more sophisticated output forwarding from exec tasks
Fixes #8583
2017-11-06 18:34:48 +00:00
Armin
8b8d5ec9ca TESTS: Improve Gradle Test Configuration
* `clean` actually cleans all dynamically created files, in particular it now properly cleans the generated Gemfile so
that changes to the Gemfile.template reflect in a rerun of `bundler`
* `rubyTests` and `test` are now one-off and will automatically bootstrap JRuby and Gems required by the tests if necessary
* Fixed Readme to document the now much simpler test targets
* All rake tasks remain unchanged and still work exactly as they did before

Fixes #8583
2017-11-06 18:34:47 +00:00
Pier-Hugues Pellerin
7b09be4ead Bootstrap JRuby using gradle
Instead of using rake to bootstrap we are slowly moving part of our
infra to gradle this is the first step taken, I didn't change the calls,
I just made the `rake bootstrap` call the `gradle bootstrap`

Closes: #8234

Fixes #8238
2017-09-18 14:32:10 +00:00
Jake Landis
1340f2eee0 Introduce docker for CI builds.
This commit includes:
* A base Dockerfile and script to push to a Docker repo
* A per-build Dockerfile (derived from the base)
* Updates to the test scripts to allow for more parallel builds
* Docker wrappers for the tests scripts
* Update for the integration test readme to manually run the tests
* Clean up the output of the Java tests
* Remove offline tag for tests (no longer needed that we don't use docker dependent services)

This commit does NOT include:
* Changes needed for the CI system to use Docker

Fixes #8223
2017-09-14 18:55:41 +00:00
Armin
84504e037a MINOR: Cleanup out directory via gradle clean task
Fixes #8085
2017-08-28 14:40:40 +00:00
Armin
c2e55ba07b MINOR: Enable javac warnings
Fixes #7674
2017-07-13 10:40:46 +00:00
Armin
e80bfe45e7 MINOR: Dry up gradle settings
Fixes #7298
2017-06-03 07:07:28 +00:00
Tal Levy
bd8b05d676 unify gradle projects (#6725) 2017-02-27 13:58:01 -08:00