youtubebeat/vendor/github.com/elastic/beats/dev-tools
2018-11-18 11:08:38 +01:00
..
cmd Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
mage Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
packaging Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
vendor Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
.gitignore Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
aggregate_coverage.py Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
cherrypick_pr Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
common.bash Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
deploy Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
generate_notice.py Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
get_version Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
jenkins_ci.ps1 Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
jenkins_ci.sh Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
jenkins_intake.sh Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
jenkins_release.sh Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
Makefile Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
merge_pr Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
open_pr Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
promote_docs Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
README.md Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
requirements.txt Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
run_with_go_ver Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
set_docs_version Add generated youtubebeat files 2018-11-18 11:08:38 +01:00
set_version Add generated youtubebeat files 2018-11-18 11:08:38 +01:00

Available scripts

The following scripts are used by the unified release process:

File Description
get_version Returns the current version
set_version Sets the current version in all places where change is required. Doesn't commit changes.
deploy Builds all artifacts for the officially supported Beats

Other scripts:

File Description
aggregate_coverage.py Used to create coverage reports that contain both unit and system tests data
merge_pr Used to make it easier to open a PR that merges one branch into another.

Import / export the dashboards of a single Beat:

File Description
export_dashboards.py Python script to export the Beat dashboards from Elasticsearch to a local directory

Running export_dashboards.py in environment

If you are running the python script for the first time, you need to create the environment by running the following commands in the beats/dev-tools directory:

virtualenv env
. env/bin/activate
pip install -r requirements.txt

This creates the environment that contains all the python packages required to run the export_dashboards.py script. Thus, for the next runs you just need to enable the environment:

. env/bin/activate