src/dev/code_coverage/docs/ingest_code_coverage_readme.md
https://buildkite.com/elastic/kibana-code-coverage-main
It starts with buildkite
At the time of this writing, the code coverage job steps are:
env:
CODE_COVERAGE: '1'
NODE_ENV: 'test'
DISABLE_MISSING_TEST_REPORT_ERRORS: 'true'
steps:
# .. MYRIAD STEPS BEFORE CODE COVERAGE BEGINS ..
- command: .buildkite/scripts/steps/code_coverage/ingest.sh
label: 'Merge and Ingest'
agents:
queue: n2-4
depends_on:
- jest
- oss-cigroup
- default-cigroup
timeout_in_minutes: 60
key: ingest
- wait: ~
continue_on_failure: true
At the end of .buildkite/scripts/steps/code_coverage/ingest.sh is:
echo "--- Ingest results to Kibana stats cluster".
The code that comes after that echo statement starts the process.
There is really only one config step.
The index mapping for one of
of the indexes has to be manually created.
Currently, we just add it using Kibana's Dev Tools.