mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* Revert "Revert "Remove ts refs build from bootstrap (#125314)"" This reverts commit8757e965fc
. * build ts refs cache if enabled (cherry picked from commit854e8a6b61
) Co-authored-by: Jonathan Budzenski <jon@elastic.co>
This commit is contained in:
parent
f7d585ae2d
commit
cc4e2571f1
3 changed files with 2 additions and 17 deletions
|
@ -26,6 +26,8 @@ fi
|
|||
### upload ts-refs-cache artifacts as quickly as possible so they are available for download
|
||||
###
|
||||
if [[ "${BUILD_TS_REFS_CACHE_CAPTURE:-}" == "true" ]]; then
|
||||
echo "--- Build ts-refs-cache"
|
||||
node scripts/build_ts_refs.js --ignore-type-failures
|
||||
echo "--- Upload ts-refs-cache"
|
||||
cd "$KIBANA_DIR/target/ts_refs_cache"
|
||||
gsutil cp "*.zip" 'gs://kibana-ci-ts-refs-cache/'
|
||||
|
|
7
packages/kbn-pm/dist/index.js
vendored
7
packages/kbn-pm/dist/index.js
vendored
|
@ -8987,13 +8987,6 @@ const BootstrapCommand = {
|
|||
}, {
|
||||
prefix: '[vscode]',
|
||||
debug: false
|
||||
});
|
||||
await Object(_utils_child_process__WEBPACK_IMPORTED_MODULE_3__["spawnStreaming"])(process.execPath, ['scripts/build_ts_refs', '--ignore-type-failures'], {
|
||||
cwd: kbn.getAbsolute(),
|
||||
env: process.env
|
||||
}, {
|
||||
prefix: '[ts refs]',
|
||||
debug: false
|
||||
}); // send timings
|
||||
|
||||
await reporter.timings({
|
||||
|
|
|
@ -137,16 +137,6 @@ export const BootstrapCommand: ICommand = {
|
|||
{ prefix: '[vscode]', debug: false }
|
||||
);
|
||||
|
||||
await spawnStreaming(
|
||||
process.execPath,
|
||||
['scripts/build_ts_refs', '--ignore-type-failures'],
|
||||
{
|
||||
cwd: kbn.getAbsolute(),
|
||||
env: process.env,
|
||||
},
|
||||
{ prefix: '[ts refs]', debug: false }
|
||||
);
|
||||
|
||||
// send timings
|
||||
await reporter.timings({
|
||||
upstreamBranch: kbn.kibanaProject.json.branch,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue