Commit graph

360 commits

Author SHA1 Message Date
Pere Urbon-Bayes
002104f3c8 Added review comments and improvements
fix the logstash_gem_path

added some love from @jsvd comments

added an LS_ENV variable that if set to test it install the plugin dependencies when running the plugin:install-all rake task2

made the vendor:deps task has a more concret behaviour and proper naming

cleanup the all plugins install to only do the installation

added some code to fetch dependencies throw some gemcode within the gemfile as @electrical proposed

Revert "added some code to fetch dependencies throw some gemcode within the gemfile as @electrical proposed"

This reverts commit 20c3243485129c388d1da4ac930a479f017e0d99.

fix a path on the run all plugins test rake task

Fixes #2371
2015-01-21 16:47:26 +00:00
Pere Urbon-Bayes
6e63f6c6b2 added way to add development dependencies to a gemfile and then rerun it
Fixes #2371
2015-01-21 16:47:26 +00:00
Pier-Hugues Pellerin
3cb1aa8658 Allow to define gem in the gemfile with the path option
Fixes #2375
2015-01-21 15:29:20 +00:00
Pere Urbon-Bayes
f3912f81db Applyed all necessary review improvements fix the gempath
update the test:plugins to test:all-plugins at it makes more sense

fix the path to run the bin logstash file

added order rand

Fixes #2373
2015-01-19 19:41:46 +00:00
Pere Urbon-Bayes
ec97d3d78c add a way to run all plugin test from a rake command
Fixes #2373
2015-01-19 19:41:46 +00:00
Suyog Rao
5d7119ff55 With #2320, Kafka was removed from the default install list to save ~30mb from the LS release package.
We had a discussion internally and arguments were made for having Kafka included back to make it consistent with the other packaged plugins. Moving forward (post v1.5), the idea is to have Logstash ship with a small list of plugins by default to reduce the install size. This would also allow users to only install plugins which are needed for their use-case. This is made easier by the recent plugin management infrastructure which can add/remove plugins at any time. Once we have more data on which plugins are popular, we will open an issue to only include those in the default package. Until then Kafka stays

Fixes #2343
2015-01-15 19:23:22 +00:00
Suyog Rao
7209eaec03 Remove kafka input and output from default plugins packaging
Fixes #2320
2015-01-07 10:09:50 +00:00
Pere Urbon-Bayes
188b6a2aba fix the exclude variable naming
Fixes #2285
2015-01-05 15:50:16 +00:00
Pere Urbon-Bayes
3472fabb3a move the specs cleaning for logstash plugins to packaging time
Fixes #2285
2015-01-05 15:50:15 +00:00
Pere Urbon-Bayes
ab0a654be8 add code to remove files within gems after bundler gets call
Fixes #2285
2015-01-05 15:50:15 +00:00
Pere Urbon-Bayes
2ec759a676 rafactor the jruby exclude filters plus add the rdoc shared into the list
Fixes #2285
2015-01-05 15:50:15 +00:00
Pere Urbon-Bayes
05a097f853 Make sure the vendorized jruby only have 1.9 libs, so no extra space is used. Also make sure the jruby is run in 1.9 mode.
Fixes #2285
2015-01-05 15:50:15 +00:00
Pier-Hugues Pellerin
4448e37fa0 Cleaning gems dependencies from the logstash.gemspec
Fixes #2274
2014-12-23 20:18:03 +00:00
wiibaa
395cb7563b Update for windows to execute rake bootstrap and bin\logstash.bat
Fixes #2085
2014-12-22 21:46:25 +00:00
Pier-Hugues Pellerin
738e0b59eb Removing the gembag and the download of the vendored files since the logic was moved into their specific gems.
Fixes #2272
2014-12-19 23:34:31 +00:00
Richard Pijnenburg
f83652aada Refactor doc generation
- Use a generic task for installing all plugins
- Use refactored bundle install task

Fixes #2258
2014-12-17 19:56:31 +00:00
Pere Urbon-Bayes
b1a4c102da make sure the fail fast test also have the bootstrap for tests done
Fixes #2237
2014-12-17 17:31:32 +00:00
Pere Urbon-Bayes
d63e0ec9eb make sure the bundler task is just used once while bootstraping tests
Fixes #2237
2014-12-17 17:31:32 +00:00
Pere Urbon-Bayes
93aadb4d4c Make the test plugins install throw bundler, so we don't have to install them every time we run the test (it makes the thing slow). Refactor also the bundler install task into a single one, making calls to it when necessary.
Fixes #2237
2014-12-17 17:31:32 +00:00
Richard Pijnenburg
60493acbd0 Add doc generation tasks to logstash
Fixes #2256
2014-12-17 16:57:04 +00:00
Pere Urbon-Bayes
21cb877ec9 clear the gem paths before the test rake tasks so they find previously installed plugins
Fixes #2235
2014-12-17 12:52:29 +00:00
Richard Pijnenburg
0f185a470e Add creation of zipfile for the artifacts
Fixes #2221
2014-12-16 20:29:33 +00:00
Colin Surprenant
0a130cc5ef add Bundler.reset! method which fixes the .lock file updates
Fixes #2231
2014-12-15 19:52:11 +00:00
Joao Duarte
9a8551009b exclude rake files from artifacts
Fixes #2229
2014-12-12 23:56:11 +00:00
Colin Surprenant
9ad3384377 removed coveralls dev dependency, more .bundle dir cleanup, install without parameter fix
Fixes #2203
2014-12-10 23:48:17 +00:00
Colin Surprenant
20393d8ed5 correclty reset bundler, disabled multiple jobs, removed .done file stuff
Fixes #2203
2014-12-10 23:48:17 +00:00
Colin Surprenant
aa70b40862 refactor to use single gem dir vendor/bundle, use Bundler::CLI, .lock files naming
Fixes #2203
2014-12-10 23:48:17 +00:00
Colin Surprenant
b086a8cf8d all gems included in vendor/ glob and add bootstrap for bundler
Fixes #2203
2014-12-10 23:48:17 +00:00
Colin Surprenant
288cb1fc05 gem paths settings fix & refactor
Fixes #2203
2014-12-10 23:48:17 +00:00
Pier-Hugues Pellerin
00899fc411 Adding bootstrap gem to the gem home
Fixes #2203
2014-12-10 23:48:16 +00:00
Joao Duarte
c02f3ec35c abort artifact if plugin installation fails
Fixes #2186
2014-12-05 23:58:57 +00:00
Joao Duarte
b21ab88885 remove spool codec from default_plugins
Fixes #2167
2014-12-05 20:43:36 +00:00
Joao Duarte
f77c08086b remove explicit references to ruby implementation and version
Fixes #2184
2014-12-05 19:42:16 +00:00
Joao Duarte
d6beaccc0c reinstate standalone flag and remove .bundle in vendor task
Fixes #2184
2014-12-05 19:42:16 +00:00
Joseph Lawson
c0e91ce044 create empty /etc/logstash/conf.d directory [fixes #2188]
Fixes #2189
2014-12-05 19:27:20 +00:00
Joao Duarte
37df140bce minor fixes to moving plugins gemfile to tools/
Fixes #2171
2014-12-04 17:09:56 +00:00
Joao Duarte
68db6b4aaf set correct env in bootstrap to avoid dup gems
Fixes #2171
2014-12-04 17:09:56 +00:00
Joao Duarte
68c03cf19e move plugins gemfile to tools
Fixes #2171
2014-12-04 17:09:56 +00:00
Jordan Sissel
3e09425524 Add /var/lib/logstash
Fixes #2160

Fixes #2162
2014-12-03 01:03:50 +00:00
Jordan Sissel
62e08e2020 Add /var/log/logstash as an empty directory.
Testing deb package

    % dpkg -c build/logstash_2.0.0.dev-1_all.deb | grep var/log/logstash
    drwxrwxr-x 0/0               0 2014-12-01 22:29 ./var/log/logstash/

Testing rpm package

    % rpm -qvlp build/logstash-2.0.0.dev-1.noarch.rpm| grep var/log/logstash
    drwxrwxr-x    2 root    root                        0 Dec  1 22:34 /var/log/logstash

Fixes #2146

Fixes #2159
2014-12-02 19:55:24 +00:00
Joao Duarte
eb8d54ee3a handle vendored/nonvendored ruby and reset env vars
Fixes #2107
2014-12-01 19:37:57 +00:00
Joao Duarte
eff219a003 install default plugins via bundler
Fixes #2107
2014-12-01 19:37:57 +00:00
Jordan Sissel
c1018129f4 Include 99 plugins by default.
This plugin set should be the same as the ones included in "core" in
Logstash 1.4.2, so users should experience no negative impact of this.

Fixes #2020
2014-11-14 22:04:05 +00:00
Joao Duarte
14023618b4 bump kibana to 3.1.2
Fixes #2059
2014-11-11 17:50:15 +00:00
Pier-Hugues Pellerin
c92a2ccfcb Rake way of deleting files
Fixes #1981
2014-11-11 06:32:28 +00:00
Pier-Hugues Pellerin
d33fef90e4 Added a task to clean the vendor directory
Fixes #1981
2014-11-11 06:32:28 +00:00
Jordan Sissel
8b509cdf7d Add init scripts to rpm and deb
Fixes #2018
2014-11-05 04:11:47 +00:00
Richard Pijnenburg
f472d4af24 Cleanup plugins to move to plugin system
Plugins have moved to https://github.com/logstash-plugins/... into
individual repositories. One plugin per repo.

* Add plugin install task and add required plugins for testing
* Adding a plugin task to install plugins
* Added required plugins to a prep task for the test part.

Fixes #1984
2014-11-04 23:24:59 +00:00
Jordan Sissel
cf2800867a Remove some vendor tasks from vendor:all
kafka, geoip, elasticsearch, and collectd moved into separate plugins

Fixes #1995
2014-11-04 19:23:42 +00:00
Jordan Sissel
d68d2b613d Fix tarball packaging to be rooted in logstash-<VERSION>
Fixes #1982

Fixes #1995
2014-11-04 19:23:42 +00:00