-
Notifications
You must be signed in to change notification settings - Fork 306
fix jruby bundler for test #1099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same reasoning as logstash-plugins/.ci#44 (review)
-rbundler/setup
flag forjruby
executable is not needed when invoked insidebundle exec
- run rspec directly (fragment
jruby -S rspec [RSPEC_ARGS...]
->rspec [RSPEC_ARGS...]
) - use long-form options in scripts for readability (rspec's
-fd
->--format=documentation
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A "while we are here" suggestion to use more long-form rspec flags -t
-> --tag
Co-authored-by: Ry Biesemeyer <[email protected]>
Co-authored-by: Ry Biesemeyer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* fix jruby bundler for test * Update .ci/logstash-run.sh Co-authored-by: Ry Biesemeyer <[email protected]> * Update .ci/logstash-run.sh Co-authored-by: Ry Biesemeyer <[email protected]> * Update .ci/logstash-run.sh Co-authored-by: Ry Biesemeyer <[email protected]>
Fix: elastic/logstash#14800
Use the bundler in
/vendor/bundle/jruby/2.6.0/bin/bundle
instead of/vendor/jruby/bin/bundle
to run test, as Logstash doesn't package the latter in artifacts in elastic/logstash#14667Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/