mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
fix(NA): propagation of env vars on forced yarn installs (#128021)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
11b87e3558
commit
6e52d0dbef
2 changed files with 14 additions and 2 deletions
7
packages/kbn-pm/dist/index.js
vendored
7
packages/kbn-pm/dist/index.js
vendored
|
@ -8945,7 +8945,12 @@ const BootstrapCommand = {
|
|||
|
||||
if (forceInstall) {
|
||||
await time('force install dependencies', async () => {
|
||||
await Object(_utils_bazel__WEBPACK_IMPORTED_MODULE_9__["runBazel"])(['run', '@nodejs//:yarn'], runOffline);
|
||||
await Object(_utils_bazel__WEBPACK_IMPORTED_MODULE_9__["runBazel"])(['run', '@nodejs//:yarn'], runOffline, {
|
||||
env: {
|
||||
SASS_BINARY_SITE: 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-sass',
|
||||
RE2_DOWNLOAD_MIRROR: 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2'
|
||||
}
|
||||
});
|
||||
});
|
||||
} // build packages
|
||||
|
||||
|
|
|
@ -83,7 +83,14 @@ export const BootstrapCommand: ICommand = {
|
|||
|
||||
if (forceInstall) {
|
||||
await time('force install dependencies', async () => {
|
||||
await runBazel(['run', '@nodejs//:yarn'], runOffline);
|
||||
await runBazel(['run', '@nodejs//:yarn'], runOffline, {
|
||||
env: {
|
||||
SASS_BINARY_SITE:
|
||||
'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-sass',
|
||||
RE2_DOWNLOAD_MIRROR:
|
||||
'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2',
|
||||
},
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue