mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
[QA][Code Coverage] follow up pr for ftr auto config handling & fix merge (#131734)
* [QA][Code Coverage] fixup for auto config handling pr ## Summary Embed buildkite pipeline definition. Follow up pr to change cc per auto config handling. Also, resolves https://github.com/elastic/kibana/issues/132706 Increase worker count for `node scripts/build_kibana_platform_plugins` to 4 workers. Normalize file names within coverage files such that nyc correctly builds the combined summaries. _Ci runs this on myriad servers, so the paths are different, which "breaks" nyc's output_ Split the final merge of functional coverage into 2 passes due to [nyc issue](https://github.com/istanbuljs/nyc/issues/1263) Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e310b20bac
commit
5f950e617a
16 changed files with 475 additions and 157 deletions
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
const { readFileSync, writeFileSync } = require('fs');
|
||||
|
||||
const file = process.argv[2];
|
||||
const search = process.argv[3];
|
||||
const replace = process.argv[4];
|
||||
writeFileSync(file, readFileSync(file).toString().replaceAll(search, replace));
|
Loading…
Add table
Add a link
Reference in a new issue