mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Implements a script to test all supported plugins against Logstash/JRuby, in particular it uses the JRuby(and JDK) bundled with Logstash to execute the unit tests, create the gem and install the gem on local Logstash. This doesn't start a real pipeline run into the local Logstash, but should be enough to reveal macroscopic Ruby syntax compatibility errors. Refer to PR https://github.com/elastic/logstash/pull/15018 for usage examples. Co-authored-by: Ry Biesemeyer <yaauie@users.noreply.github.com>
7 lines
No EOL
240 B
Bash
Executable file
7 lines
No EOL
240 B
Bash
Executable file
#!/bin/sh -ie
|
|
export JRUBY_OPTS="-J-Xmx1g"
|
|
export GRADLE_OPTS="-Xmx4g -Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dorg.gradle.logging.level=info -Dfile.encoding=UTF-8"
|
|
|
|
./gradlew assemble
|
|
|
|
bin/ruby ci/test_supported_plugins.rb $@ |