Skip to content
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

Fix for The bundle currently has logstash-xxx-yyy locked at N when doing offline plugin install #12230

Closed
wants to merge 1 commit into from

Conversation

kaisecheng
Copy link
Contributor

This is a copy from guyboertje 10016 to get rid of locking error when performed an offline plugin update

original issue is #8979

@kaisecheng
Copy link
Contributor Author

This solution can unlock the gems and update the plugin logstash-input-tcp successfully which is tested in 6.1.1 and 7.3.2. However, it breaks the development environment.

Another feasible approach is to unlock the gems in logstash_injector.rb and exclude :group => :development in Gemfile, which is tested in 7.3.2. Currently, Gemfile is generated by Logstash dynamically. The idea is to has a release artifact with Gemfile excluding :development to prevent bundler validate on development gem dependency, while the development environment has Gemfile with :build and :development

@kaisecheng kaisecheng closed this Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant