logstash/ci/ci_docs.sh
Pier-Hugues Pellerin 42e9c0d758 Extraction of the document from ruby to actual asciidoc file
This PR is based on the proposal from #6846, it does the following

- Change the format of the plugin help page
- Create an external file for each plugin type that will get included by the plugin
- Add a script to generate the PR on each plugin repo with the static doc
- Add a script `ci/ci_docs.sh` that will be used to generate the list of plugins that can be installed in logstash from all the available plugins from the community organization

This PR is the building block for change in https://github.com/elastic/docs-tools/issues/3

Fixes #6941
2017-06-08 20:14:36 +00:00

14 lines
458 B
Bash
Executable file

#!/usr/bin/env bash
set -e
export JRUBY_OPTS="-J-Xmx2g"
rake bootstrap
# needed to workaround `group => :development`
rake test:install-core
rake plugin:install-default
echo "Generate json with plugins version"
# Since we generate the lock file and we try to resolve dependencies we will need
# to use the bundle wrapper to correctly find the rake cli. If we don't do this we
# will get an activation error,
./bin/bundle exec rake generate_plugins_version