Skip to content

Commit

Permalink
Merge branch 'master' into bug/truncate-hostname-and-policyname
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Oct 7, 2020
2 parents c78aa1b + 4ce3e1c commit c58fa9c
Show file tree
Hide file tree
Showing 14 changed files with 134 additions and 424 deletions.
3 changes: 2 additions & 1 deletion .backportrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"targetBranchChoices": [
{ "name": "master", "checked": true },
{ "name": "7.x", "checked": true },
"7.10",
"7.9",
"7.8",
"7.7",
Expand All @@ -27,7 +28,7 @@
"targetPRLabels": ["backport"],
"branchLabelMapping": {
"^v8.0.0$": "master",
"^v7.10.0$": "7.x",
"^v7.11.0$": "7.x",
"^v(\\d+).(\\d+).\\d+$": "$1.$2"
}
}
12 changes: 9 additions & 3 deletions packages/kbn-pm/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ function help() {
--oss Do not include the x-pack when running command.
--skip-kibana-plugins Filter all plugins in ./plugins and ../kibana-extra when running command.
--no-cache Disable the bootstrap cache
--no-validate Disable the bootstrap yarn.lock validation
--verbose Set log level to verbose
--debug Set log level to debug
--quiet Set log level to error
Expand All @@ -222,9 +223,10 @@ async function run(argv) {
i: 'include'
},
default: {
cache: true
cache: true,
validate: true
},
boolean: ['prefer-offline', 'frozen-lockfile', 'cache']
boolean: ['prefer-offline', 'frozen-lockfile', 'cache', 'validate']
});
const args = options._;

Expand Down Expand Up @@ -8998,7 +9000,11 @@ const BootstrapCommand = {
}

const yarnLock = await Object(_utils_yarn_lock__WEBPACK_IMPORTED_MODULE_6__["readYarnLock"])(kbn);
await Object(_utils_validate_yarn_lock__WEBPACK_IMPORTED_MODULE_7__["validateYarnLock"])(kbn, yarnLock);

if (options.validate) {
await Object(_utils_validate_yarn_lock__WEBPACK_IMPORTED_MODULE_7__["validateYarnLock"])(kbn, yarnLock);
}

await Object(_utils_link_project_executables__WEBPACK_IMPORTED_MODULE_0__["linkProjectExecutables"])(projects, projectGraph);
/**
* At the end of the bootstrapping process we call all `kbn:bootstrap` scripts
Expand Down
4 changes: 3 additions & 1 deletion packages/kbn-pm/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function help() {
--oss Do not include the x-pack when running command.
--skip-kibana-plugins Filter all plugins in ./plugins and ../kibana-extra when running command.
--no-cache Disable the bootstrap cache
--no-validate Disable the bootstrap yarn.lock validation
--verbose Set log level to verbose
--debug Set log level to debug
--quiet Set log level to error
Expand Down Expand Up @@ -80,8 +81,9 @@ export async function run(argv: string[]) {
},
default: {
cache: true,
validate: true,
},
boolean: ['prefer-offline', 'frozen-lockfile', 'cache'],
boolean: ['prefer-offline', 'frozen-lockfile', 'cache', 'validate'],
});

const args = options._;
Expand Down
159 changes: 0 additions & 159 deletions packages/kbn-pm/src/commands/__snapshots__/bootstrap.test.ts.snap

This file was deleted.

Loading

0 comments on commit c58fa9c

Please sign in to comment.