angular-docs-cn/integration/bazel
Greg Magolan 64e7af4e43 build(bazel): add build --incompatible_list_based_execution_strategy_selection=false flag (#31325)
This option is changed to true in Bazel 0.27 and exposes a possible
regression in Bazel 0.27.0.
Error observed is in npm_package target `//packages/common/locales:package`:
```
ERROR: /home/circleci/ng/packages/common/locales/BUILD.bazel:13:1: Assembling
npm package packages/common/locales/package failed: No usable spawn strategy found
for spawn with mnemonic SkylarkAction.  Your --spawn_strategyor --strategy flags
are probably too strict. Visit https://github.com/bazelbuild/bazel/issues/7480 for
migration advises
```
Suspect is https://github.com/bazelbuild/rules_nodejs/blob/master/internal/npm_package/npm_package.bzl#L75-L82:
```
 execution_requirements = {
    # Never schedule this action remotely because it's not computationally expensive.
    # It just copies files into a directory; it's not worth copying inputs and outputs to a remote worker.
    # Also don't run it in a sandbox, because it resolves an absolute path to the bazel-out directory
    # allowing the .pack and .publish runnables to work with no symlink_prefix
    # See https://github.com/bazelbuild/rules_nodejs/issues/187
    "local": "1",
},
```

PR Close #31325
2019-07-01 14:16:42 -07:00
..
src build: update to rules_nodejs 0.32.2 (#31325) 2019-07-01 14:16:42 -07:00
test/e2e fix(bazel): pass correct arguments to http_server in Windows (#30346) 2019-05-09 11:20:51 -07:00
.bazelignore build(bazel): update to nodejs rules 0.30.1 & bazel 0.26.0 (#30627) 2019-06-11 00:03:11 +00:00
.bazelrc build(bazel): add build --incompatible_list_based_execution_strategy_selection=false flag (#31325) 2019-07-01 14:16:42 -07:00
BUILD.bazel test: bazel integration test should use angular npm packages (#28762) 2019-02-19 12:53:19 -08:00
WORKSPACE build: update to rules_nodejs 0.32.2 (#31325) 2019-07-01 14:16:42 -07:00
angular-metadata.tsconfig.json fix(bazel): exclude all angular schematics folders from metadata build (#31237) 2019-06-24 18:48:44 -07:00
package.json build: update to rules_nodejs 0.32.2 (#31325) 2019-07-01 14:16:42 -07:00
protractor.conf.js feat(bazel): protractor_web_test_suite for release (#24787) 2018-07-12 16:34:45 -04:00
yarn.lock build: update to rules_nodejs 0.32.2 (#31325) 2019-07-01 14:16:42 -07:00