Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
5452889aa6 | |||
590b84fc1d | |||
b6deb00b97 | |||
01114dc10a | |||
7b1f3527be | |||
575ef9f5a4 | |||
11996cd1c4 | |||
8fc763d58f | |||
7a5136bcc1 | |||
a9f39a4fdf | |||
35d0284f45 | |||
74346e987a | |||
f221e9010e | |||
90c273a788 |
25
.bazelrc
25
.bazelrc
@ -74,3 +74,28 @@ test --experimental_ui
|
|||||||
# to determine if the compiler used should be Ivy or ViewEngine one can use `--define=compile=local` on
|
# to determine if the compiler used should be Ivy or ViewEngine one can use `--define=compile=local` on
|
||||||
# any bazel target. This is a temporary flag until codebase is permanently switched to Ivy.
|
# any bazel target. This is a temporary flag until codebase is permanently switched to Ivy.
|
||||||
build --define=compile=legacy
|
build --define=compile=legacy
|
||||||
|
|
||||||
|
###############################
|
||||||
|
# Remote Build Execution support
|
||||||
|
# Turn on these settings with
|
||||||
|
# --config=remote
|
||||||
|
###############################
|
||||||
|
|
||||||
|
# Load default settings for Remote Build Execution
|
||||||
|
import %workspace%/third_party/github.com/bazelbuild/bazel-toolchains/bazelrc/bazel-0.20.0.bazelrc
|
||||||
|
|
||||||
|
# Increase the default number of jobs by 50% because our build has lots of
|
||||||
|
# parallelism
|
||||||
|
build:remote --jobs=150
|
||||||
|
|
||||||
|
# Point to our custom execution platform; see tools/BUILD.bazel
|
||||||
|
build:remote --extra_execution_platforms=//tools:rbe_ubuntu1604-angular
|
||||||
|
build:remote --host_platform=//tools:rbe_ubuntu1604-angular
|
||||||
|
build:remote --platforms=//tools:rbe_ubuntu1604-angular
|
||||||
|
|
||||||
|
# Remote instance.
|
||||||
|
build:remote --remote_instance_name=projects/internal-200822/instances/default_instance
|
||||||
|
|
||||||
|
# Do not accept remote cache.
|
||||||
|
# We need to understand the security risks of using prior build artifacts.
|
||||||
|
build:remote --remote_accept_cached=false
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# These options are enabled when running on CI
|
# These options are enabled when running on CI
|
||||||
# We do this by copying this file to /etc/bazel.bazelrc at the start of the build.
|
# We do this by copying this file to /etc/bazel.bazelrc at the start of the build.
|
||||||
# See remote cache documentation in /docs/BAZEL.md
|
# See documentation in /docs/BAZEL.md
|
||||||
|
|
||||||
# Don't be spammy in the logs
|
# Don't be spammy in the logs
|
||||||
# TODO(gmagolan): Hide progress again once build performance improves
|
# TODO(gmagolan): Hide progress again once build performance improves
|
||||||
@ -8,9 +8,6 @@
|
|||||||
# error: Too long with no output (exceeded 10m0s)
|
# error: Too long with no output (exceeded 10m0s)
|
||||||
# build --noshow_progress
|
# build --noshow_progress
|
||||||
|
|
||||||
# Don't run manual tests
|
|
||||||
test --test_tag_filters=-manual
|
|
||||||
|
|
||||||
# Print all the options that apply to the build.
|
# Print all the options that apply to the build.
|
||||||
# This helps us diagnose which options override others
|
# This helps us diagnose which options override others
|
||||||
# (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc)
|
# (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc)
|
||||||
|
@ -25,7 +25,10 @@ var_4: &define_env_vars
|
|||||||
var_5: &setup_bazel_remote_execution
|
var_5: &setup_bazel_remote_execution
|
||||||
run:
|
run:
|
||||||
name: "Setup bazel RBE remote execution"
|
name: "Setup bazel RBE remote execution"
|
||||||
command: openssl aes-256-cbc -d -in .circleci/gcp_token -k "$CI_REPO_NAME" -out /home/circleci/.gcp_credentials && echo "export GOOGLE_APPLICATION_CREDENTIALS=/home/circleci/.gcp_credentials" >> $BASH_ENV && sudo bash -c "cat .circleci/rbe-bazel.rc >> /etc/bazel.bazelrc"
|
command: |
|
||||||
|
openssl aes-256-cbc -d -in .circleci/gcp_token -k "$CI_REPO_NAME" -out /home/circleci/.gcp_credentials
|
||||||
|
echo "export GOOGLE_APPLICATION_CREDENTIALS=/home/circleci/.gcp_credentials" >> $BASH_ENV
|
||||||
|
sudo bash -c "echo 'build --config=remote' >> /etc/bazel.bazelrc"
|
||||||
|
|
||||||
# Settings common to each job
|
# Settings common to each job
|
||||||
var_6: &job_defaults
|
var_6: &job_defaults
|
||||||
@ -53,21 +56,19 @@ version: 2
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
<<: *job_defaults
|
<<: *job_defaults
|
||||||
resource_class: xlarge
|
|
||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
<<: *post_checkout
|
<<: *post_checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: *cache_key
|
key: *cache_key
|
||||||
- *define_env_vars
|
- *define_env_vars
|
||||||
- *setup_circleci_bazel_config
|
|
||||||
- *yarn_install
|
- *yarn_install
|
||||||
|
|
||||||
- run: 'yarn buildifier -mode=check ||
|
- run: 'yarn bazel:format -mode=check ||
|
||||||
(echo "BUILD files not formatted. Please run ''yarn buildifier''" ; exit 1)'
|
(echo "BUILD files not formatted. Please run ''yarn bazel:format''" ; exit 1)'
|
||||||
# Run the skylark linter to check our Bazel rules
|
# Run the skylark linter to check our Bazel rules
|
||||||
- run: 'yarn skylint ||
|
- run: 'yarn bazel:lint ||
|
||||||
(echo -e "\n.bzl files have lint errors. Please run ''yarn skylint''"; exit 1)'
|
(echo -e "\n.bzl files have lint errors. Please run ''yarn bazel:lint-fix''"; exit 1)'
|
||||||
|
|
||||||
- run: ./node_modules/.bin/gulp lint
|
- run: ./node_modules/.bin/gulp lint
|
||||||
|
|
||||||
|
@ -1,77 +0,0 @@
|
|||||||
# These options are enabled when running on CI with Remote Build Execution.
|
|
||||||
|
|
||||||
################################################################
|
|
||||||
# Toolchain related flags for remote build execution. #
|
|
||||||
################################################################
|
|
||||||
# Remote Build Execution requires a strong hash function, such as SHA256.
|
|
||||||
startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
|
|
||||||
|
|
||||||
# Depending on how many machines are in the remote execution instance, setting
|
|
||||||
# this higher can make builds faster by allowing more jobs to run in parallel.
|
|
||||||
# Setting it too high can result in jobs that timeout, however, while waiting
|
|
||||||
# for a remote machine to execute them.
|
|
||||||
build --jobs=150
|
|
||||||
|
|
||||||
# Set several flags related to specifying the platform, toolchain and java
|
|
||||||
# properties.
|
|
||||||
# These flags are duplicated rather than imported from (for example)
|
|
||||||
# %workspace%/configs/ubuntu16_04_clang/1.0/toolchain.bazelrc to make this
|
|
||||||
# bazelrc a standalone file that can be copied more easily.
|
|
||||||
# These flags should only be used as is for the rbe-ubuntu16-04 container
|
|
||||||
# and need to be adapted to work with other toolchain containers.
|
|
||||||
build --host_javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.0:jdk8
|
|
||||||
build --javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.0:jdk8
|
|
||||||
build --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
|
|
||||||
build --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
|
|
||||||
build --crosstool_top=@bazel_toolchains//configs/ubuntu16_04_clang/1.0/bazel_0.15.0/default:toolchain
|
|
||||||
build --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
|
|
||||||
# Platform flags:
|
|
||||||
# The toolchain container used for execution is defined in the target indicated
|
|
||||||
# by "extra_execution_platforms", "host_platform" and "platforms".
|
|
||||||
# If you are using your own toolchain container, you need to create a platform
|
|
||||||
# target with "constraint_values" that allow for the toolchain specified with
|
|
||||||
# "extra_toolchains" to be selected (given constraints defined in
|
|
||||||
# "exec_compatible_with").
|
|
||||||
# More about platforms: https://docs.bazel.build/versions/master/platforms.html
|
|
||||||
build --extra_toolchains=@bazel_toolchains//configs/ubuntu16_04_clang/1.0/bazel_0.15.0/cpp:cc-toolchain-clang-x86_64-default
|
|
||||||
build --extra_execution_platforms=//tools:rbe_ubuntu1604-angular
|
|
||||||
build --host_platform=//tools:rbe_ubuntu1604-angular
|
|
||||||
build --platforms=//tools:rbe_ubuntu1604-angular
|
|
||||||
|
|
||||||
# Set various strategies so that all actions execute remotely. Mixing remote
|
|
||||||
# and local execution will lead to errors unless the toolchain and remote
|
|
||||||
# machine exactly match the host machine.
|
|
||||||
build --spawn_strategy=remote
|
|
||||||
build --strategy=Javac=remote
|
|
||||||
build --strategy=Closure=remote
|
|
||||||
build --genrule_strategy=remote
|
|
||||||
build --define=EXECUTOR=remote
|
|
||||||
|
|
||||||
# Enable the remote cache so action results can be shared across machines,
|
|
||||||
# developers, and workspaces.
|
|
||||||
build --remote_cache=remotebuildexecution.googleapis.com
|
|
||||||
|
|
||||||
# Enable remote execution so actions are performed on the remote systems.
|
|
||||||
build --remote_executor=remotebuildexecution.googleapis.com
|
|
||||||
|
|
||||||
# Remote instance.
|
|
||||||
build --remote_instance_name=projects/internal-200822/instances/default_instance
|
|
||||||
|
|
||||||
# Enable encryption.
|
|
||||||
build --tls_enabled=true
|
|
||||||
|
|
||||||
# Enforce stricter environment rules, which eliminates some non-hermetic
|
|
||||||
# behavior and therefore improves both the remote cache hit rate and the
|
|
||||||
# correctness and repeatability of the build.
|
|
||||||
build --experimental_strict_action_env=true
|
|
||||||
|
|
||||||
# Set a higher timeout value, just in case.
|
|
||||||
build --remote_timeout=3600
|
|
||||||
|
|
||||||
# Enable authentication. This will pick up application default credentials by
|
|
||||||
# default. You can use --auth_credentials=some_file.json to use a service
|
|
||||||
# account credential instead.
|
|
||||||
build --auth_enabled=true
|
|
||||||
|
|
||||||
# Do not accept remote cache.
|
|
||||||
build --remote_accept_cached=false
|
|
4
.github/angular-robot.yml
vendored
4
.github/angular-robot.yml
vendored
@ -59,6 +59,10 @@ merge:
|
|||||||
# label to monitor
|
# label to monitor
|
||||||
mergeLabel: "PR action: merge"
|
mergeLabel: "PR action: merge"
|
||||||
|
|
||||||
|
# adding any of these labels will also add the merge label
|
||||||
|
mergeLinkedLabels:
|
||||||
|
- "PR action: merge-assistance"
|
||||||
|
|
||||||
# list of checks that will determine if the merge label can be added
|
# list of checks that will determine if the merge label can be added
|
||||||
checks:
|
checks:
|
||||||
|
|
||||||
|
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,3 +1,13 @@
|
|||||||
|
<a name="7.1.3"></a>
|
||||||
|
## [7.1.3](https://github.com/angular/angular/compare/7.1.2...7.1.3) (2018-12-11)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **bazel:** tsickle dependency not working with typescript 3.1.x ([#27402](https://github.com/angular/angular/issues/27402)) ([a9f39a4](https://github.com/angular/angular/commit/a9f39a4))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a name="7.1.2"></a>
|
<a name="7.1.2"></a>
|
||||||
## [7.1.2](https://github.com/angular/angular/compare/7.1.1...7.1.2) (2018-12-06)
|
## [7.1.2](https://github.com/angular/angular/compare/7.1.1...7.1.2) (2018-12-06)
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ We will be insisting on a minimal reproduce scenario in order to save maintainer
|
|||||||
|
|
||||||
Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced.
|
Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced.
|
||||||
|
|
||||||
You can file new issues by filling out our [new issue form](https://github.com/angular/angular/issues/new).
|
You can file new issues by selecting from our [new issue templates](https://github.com/angular/angular/issues/new/choose) and filling out the form.
|
||||||
|
|
||||||
|
|
||||||
### <a name="submit-pr"></a> Submitting a Pull Request (PR)
|
### <a name="submit-pr"></a> Submitting a Pull Request (PR)
|
||||||
|
32
WORKSPACE
32
WORKSPACE
@ -1,11 +1,18 @@
|
|||||||
workspace(name = "angular")
|
workspace(name = "angular")
|
||||||
|
|
||||||
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||||
load(
|
load(
|
||||||
"//packages/bazel:package.bzl",
|
"//packages/bazel:package.bzl",
|
||||||
"rules_angular_dependencies",
|
"rules_angular_dependencies",
|
||||||
"rules_angular_dev_dependencies",
|
"rules_angular_dev_dependencies",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
http_archive(
|
||||||
|
name = "io_bazel_rules_go",
|
||||||
|
sha256 = "b7a62250a3a73277ade0ce306d22f122365b513f5402222403e507f2f997d421",
|
||||||
|
url = "https://github.com/bazelbuild/rules_go/releases/download/0.16.3/rules_go-0.16.3.tar.gz",
|
||||||
|
)
|
||||||
|
|
||||||
# Uncomment for local bazel rules development
|
# Uncomment for local bazel rules development
|
||||||
#local_repository(
|
#local_repository(
|
||||||
# name = "build_bazel_rules_nodejs",
|
# name = "build_bazel_rules_nodejs",
|
||||||
@ -18,25 +25,28 @@ load(
|
|||||||
|
|
||||||
# Angular Bazel users will call this function
|
# Angular Bazel users will call this function
|
||||||
rules_angular_dependencies()
|
rules_angular_dependencies()
|
||||||
|
|
||||||
|
# Install transitive deps of rules_nodejs
|
||||||
|
load("@build_bazel_rules_nodejs//:package.bzl", "rules_nodejs_dependencies")
|
||||||
|
|
||||||
|
rules_nodejs_dependencies()
|
||||||
|
|
||||||
# These are the dependencies only for us
|
# These are the dependencies only for us
|
||||||
rules_angular_dev_dependencies()
|
rules_angular_dev_dependencies()
|
||||||
|
|
||||||
# Install transitive deps of rules_typescript
|
# Install transitive deps of rules_typescript
|
||||||
load("@build_bazel_rules_typescript//:package.bzl", "rules_typescript_dependencies")
|
load("@build_bazel_rules_typescript//:package.bzl", "rules_typescript_dependencies")
|
||||||
rules_typescript_dependencies()
|
|
||||||
|
|
||||||
# Install transitive deps of rules_nodejs
|
rules_typescript_dependencies()
|
||||||
load("@build_bazel_rules_nodejs//:package.bzl", "rules_nodejs_dependencies")
|
|
||||||
rules_nodejs_dependencies()
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Point Bazel to WORKSPACEs that live in subdirectories
|
# Point Bazel to WORKSPACEs that live in subdirectories
|
||||||
#
|
#
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "rxjs",
|
name = "rxjs",
|
||||||
url = "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz",
|
|
||||||
strip_prefix = "package/src",
|
|
||||||
sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403",
|
sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403",
|
||||||
|
strip_prefix = "package/src",
|
||||||
|
url = "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Point to the integration test workspace just so that Bazel doesn't descend into it
|
# Point to the integration test workspace just so that Bazel doesn't descend into it
|
||||||
@ -51,9 +61,11 @@ local_repository(
|
|||||||
#
|
#
|
||||||
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
|
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
|
||||||
|
|
||||||
check_bazel_version("0.18.0", """
|
check_bazel_version("0.20.0", """
|
||||||
If you are on a Mac and using Homebrew, there is a breaking change to the installation in Bazel 0.16
|
You no longer need to install Bazel on your machine.
|
||||||
See https://blog.bazel.build/2018/08/22/bazel-homebrew.html
|
Angular has a dependency on the @bazel/bazel package which supplies it.
|
||||||
|
Try running `yarn bazel` instead.
|
||||||
|
(If you did run that, check that you've got a fresh `yarn install`)
|
||||||
|
|
||||||
""")
|
""")
|
||||||
|
|
||||||
@ -69,7 +81,7 @@ local_repository(
|
|||||||
path = "tools/npm_workspace",
|
path = "tools/npm_workspace",
|
||||||
)
|
)
|
||||||
|
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
load("@io_bazel_rules_go//go:def.bzl", "go_register_toolchains", "go_rules_dependencies")
|
||||||
|
|
||||||
go_rules_dependencies()
|
go_rules_dependencies()
|
||||||
|
|
||||||
|
@ -126,8 +126,8 @@ jobs:
|
|||||||
key: my-project-{{ .Branch }}-{{ checksum "package-lock.json" }}
|
key: my-project-{{ .Branch }}-{{ checksum "package-lock.json" }}
|
||||||
paths:
|
paths:
|
||||||
- "node_modules"
|
- "node_modules"
|
||||||
- run: npm run test -- --single-run --no-progress --browser=ChromeHeadlessCI
|
- run: npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
|
||||||
- run: npm run e2e -- --no-progress --config=protractor-ci.conf.js
|
- run: npm run e2e -- --protractor-config=e2e/protractor-ci.conf.js
|
||||||
```
|
```
|
||||||
|
|
||||||
This configuration caches `node_modules/` and uses [`npm run`](https://docs.npmjs.com/cli/run-script) to run CLI commands, because `@angular/cli` is not installed globally.
|
This configuration caches `node_modules/` and uses [`npm run`](https://docs.npmjs.com/cli/run-script) to run CLI commands, because `@angular/cli` is not installed globally.
|
||||||
@ -167,8 +167,8 @@ install:
|
|||||||
- npm install
|
- npm install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run test -- --single-run --no-progress --browser=ChromeHeadlessCI
|
- npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
|
||||||
- npm run e2e -- --no-progress --config=protractor-ci.conf.js
|
- npm run e2e -- --protractor-config=e2e/protractor-ci.conf.js
|
||||||
```
|
```
|
||||||
|
|
||||||
This does the same things as the Circle CI configuration, except that Travis doesn't come with Chrome, so we use Chromium instead.
|
This does the same things as the Circle CI configuration, except that Travis doesn't come with Chrome, so we use Chromium instead.
|
||||||
@ -201,7 +201,7 @@ customLaunchers: {
|
|||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
* Create a new file, `protractor-ci.conf.js`, in the root folder of your project, which extends the original `protractor.conf.js`:
|
* In the root folder of your e2e tests project, create a new file named `protractor-ci.conf.js`. This new file extends the original `protractor.conf.js`.
|
||||||
```
|
```
|
||||||
const config = require('./protractor.conf').config;
|
const config = require('./protractor.conf').config;
|
||||||
|
|
||||||
@ -218,8 +218,8 @@ exports.config = config;
|
|||||||
Now you can run the following commands to use the `--no-sandbox` flag:
|
Now you can run the following commands to use the `--no-sandbox` flag:
|
||||||
|
|
||||||
<code-example language="sh" class="code-shell">
|
<code-example language="sh" class="code-shell">
|
||||||
ng test --single-run --no-progress --browser=ChromeHeadlessCI
|
ng test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
|
||||||
ng e2e --no-progress --config=protractor-ci.conf.js
|
ng e2e -- --protractor-config=e2e/protractor-ci.conf.js
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
<div class="alert is-helpful">
|
<div class="alert is-helpful">
|
||||||
@ -238,7 +238,7 @@ Code coverage reports show you any parts of our code base that may not be prope
|
|||||||
To generate a coverage report run the following command in the root of your project.
|
To generate a coverage report run the following command in the root of your project.
|
||||||
|
|
||||||
<code-example language="sh" class="code-shell">
|
<code-example language="sh" class="code-shell">
|
||||||
ng test --watch=false --code-coverage
|
ng test --no-watch --code-coverage
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
When the tests are complete, the command creates a new `/coverage` folder in the project. Open the `index.html` file to see a report with your source code and code coverage values.
|
When the tests are complete, the command creates a new `/coverage` folder in the project. Open the `index.html` file to see a report with your source code and code coverage values.
|
||||||
|
@ -694,6 +694,12 @@
|
|||||||
"Workshops & Onsite Training": {
|
"Workshops & Onsite Training": {
|
||||||
"order": 2,
|
"order": 2,
|
||||||
"resources": {
|
"resources": {
|
||||||
|
"webucator": {
|
||||||
|
"desc": "Customized in-person instructor-led Angular training for private groups and public online instructor-led Angular classes.",
|
||||||
|
"rev": true,
|
||||||
|
"title": "Webucator",
|
||||||
|
"url": "https://www.webucator.com/webdev-training/angular-training"
|
||||||
|
},
|
||||||
"-acceleb": {
|
"-acceleb": {
|
||||||
"desc": "Customized, Instructor-Led Angular Training",
|
"desc": "Customized, Instructor-Led Angular Training",
|
||||||
"rev": true,
|
"rev": true,
|
||||||
|
@ -741,7 +741,6 @@
|
|||||||
{ "title": "v6", "url": "https://v6.angular.io" },
|
{ "title": "v6", "url": "https://v6.angular.io" },
|
||||||
{ "title": "v5", "url": "https://v5.angular.io" },
|
{ "title": "v5", "url": "https://v5.angular.io" },
|
||||||
{ "title": "v4", "url": "https://v4.angular.io" },
|
{ "title": "v4", "url": "https://v4.angular.io" },
|
||||||
{ "title": "v2", "url": "https://v2.angular.io" },
|
{ "title": "v2", "url": "https://v2.angular.io" }
|
||||||
{ "title": "AngularDart", "url": "https://webdev.dartlang.org/angular" }
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
workspace(name = "bazel_integration_test")
|
workspace(name = "bazel_integration_test")
|
||||||
|
|
||||||
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||||
|
|
||||||
#
|
#
|
||||||
# Download Bazel toolchain dependencies as needed by build actions
|
# Download Bazel toolchain dependencies as needed by build actions
|
||||||
#
|
#
|
||||||
@ -11,9 +13,9 @@ local_repository(
|
|||||||
|
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "rxjs",
|
name = "rxjs",
|
||||||
url = "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz",
|
|
||||||
strip_prefix = "package/src",
|
|
||||||
sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403",
|
sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403",
|
||||||
|
strip_prefix = "package/src",
|
||||||
|
url = "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz",
|
||||||
)
|
)
|
||||||
|
|
||||||
load("@angular//packages/bazel:package.bzl", "rules_angular_dependencies")
|
load("@angular//packages/bazel:package.bzl", "rules_angular_dependencies")
|
||||||
@ -42,6 +44,7 @@ http_archive(
|
|||||||
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
|
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
|
||||||
|
|
||||||
check_bazel_version("0.17.0")
|
check_bazel_version("0.17.0")
|
||||||
|
|
||||||
node_repositories(
|
node_repositories(
|
||||||
node_version = "10.9.0",
|
node_version = "10.9.0",
|
||||||
yarn_version = "1.12.1",
|
yarn_version = "1.12.1",
|
||||||
@ -53,14 +56,16 @@ yarn_install(
|
|||||||
yarn_lock = "//src:yarn.lock",
|
yarn_lock = "//src:yarn.lock",
|
||||||
)
|
)
|
||||||
|
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
load("@io_bazel_rules_go//go:def.bzl", "go_register_toolchains", "go_rules_dependencies")
|
||||||
|
|
||||||
go_rules_dependencies()
|
go_rules_dependencies()
|
||||||
|
|
||||||
go_register_toolchains()
|
go_register_toolchains()
|
||||||
|
|
||||||
load("@io_bazel_rules_webtesting//web:repositories.bzl", "browser_repositories", "web_test_repositories")
|
load("@io_bazel_rules_webtesting//web:repositories.bzl", "browser_repositories", "web_test_repositories")
|
||||||
|
|
||||||
web_test_repositories()
|
web_test_repositories()
|
||||||
|
|
||||||
browser_repositories(
|
browser_repositories(
|
||||||
chromium = True,
|
chromium = True,
|
||||||
firefox = True,
|
firefox = True,
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
"@angular/bazel": "file:../angular/dist/packages-dist/bazel",
|
"@angular/bazel": "file:../angular/dist/packages-dist/bazel",
|
||||||
"@angular/compiler": "file:../angular/dist/packages-dist/compiler",
|
"@angular/compiler": "file:../angular/dist/packages-dist/compiler",
|
||||||
"@angular/compiler-cli": "file:../angular/dist/packages-dist/compiler-cli",
|
"@angular/compiler-cli": "file:../angular/dist/packages-dist/compiler-cli",
|
||||||
"@bazel/karma": "0.21.0",
|
"@bazel/karma": "0.22.0",
|
||||||
"@bazel/typescript": "0.21.0",
|
"@bazel/typescript": "0.22.0",
|
||||||
"@types/jasmine": "2.8.8",
|
"@types/jasmine": "2.8.8",
|
||||||
"@types/source-map": "0.5.1",
|
"@types/source-map": "0.5.1",
|
||||||
"protractor": "5.1.2",
|
"protractor": "5.1.2",
|
||||||
|
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "angular-srcs",
|
"name": "angular-srcs",
|
||||||
"version": "7.1.2",
|
"version": "7.1.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"branchPattern": "2.0.*",
|
"branchPattern": "2.0.*",
|
||||||
"description": "Angular - a web framework for modern web apps",
|
"description": "Angular - a web framework for modern web apps",
|
||||||
@ -16,11 +16,9 @@
|
|||||||
"url": "https://github.com/angular/angular.git"
|
"url": "https://github.com/angular/angular.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preskylint": "bazel build --noshow_progress @io_bazel//src/tools/skylark/java/com/google/devtools/skylark/skylint:Skylint",
|
"bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name BUILD -or -name BUILD.bazel -or -name WORKSPACE \\) ! -path \"*/node_modules/*\" | xargs buildifier -v",
|
||||||
"//": "deprecated-api is disabled because we use actions.new_file(genfiles_dir) which has no replacement, see https://github.com/bazelbuild/bazel/issues/4858",
|
"bazel:lint": "yarn bazel:format --lint=warn",
|
||||||
"skylint": "find . -type f -name \"*.bzl\" ! -path \"*/node_modules/*\" ! -path \"./dist/*\" | xargs $(bazel info bazel-bin)/external/io_bazel/src/tools/skylark/java/com/google/devtools/skylark/skylint/Skylint --disable-checks=deprecated-api",
|
"bazel:lint-fix": "yarn bazel:format --lint=fix",
|
||||||
"prebuildifier": "bazel build --noshow_progress @com_github_bazelbuild_buildtools//buildifier",
|
|
||||||
"buildifier": "find . -type f \\( -name \"*.bzl\" -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs $(bazel info bazel-bin)/external/com_github_bazelbuild_buildtools/buildifier/*/buildifier",
|
|
||||||
"preinstall": "node tools/yarn/check-yarn.js",
|
"preinstall": "node tools/yarn/check-yarn.js",
|
||||||
"postinstall": "yarn update-webdriver && node ./tools/postinstall-patches.js",
|
"postinstall": "yarn update-webdriver && node ./tools/postinstall-patches.js",
|
||||||
"update-webdriver": "webdriver-manager update --gecko false $CHROMEDRIVER_VERSION_ARG",
|
"update-webdriver": "webdriver-manager update --gecko false $CHROMEDRIVER_VERSION_ARG",
|
||||||
@ -36,8 +34,8 @@
|
|||||||
"@angular-devkit/architect": "^0.10.6",
|
"@angular-devkit/architect": "^0.10.6",
|
||||||
"@angular-devkit/core": "^7.0.4",
|
"@angular-devkit/core": "^7.0.4",
|
||||||
"@angular-devkit/schematics": "^7.0.4",
|
"@angular-devkit/schematics": "^7.0.4",
|
||||||
"@bazel/karma": "0.21.0",
|
"@bazel/karma": "~0.22.0",
|
||||||
"@bazel/typescript": "0.21.0",
|
"@bazel/typescript": "~0.22.0",
|
||||||
"@schematics/angular": "^7.0.4",
|
"@schematics/angular": "^7.0.4",
|
||||||
"@types/chokidar": "1.7.3",
|
"@types/chokidar": "1.7.3",
|
||||||
"@types/convert-source-map": "^1.5.1",
|
"@types/convert-source-map": "^1.5.1",
|
||||||
@ -77,7 +75,7 @@
|
|||||||
"selenium-webdriver": "3.5.0",
|
"selenium-webdriver": "3.5.0",
|
||||||
"shelljs": "^0.8.1",
|
"shelljs": "^0.8.1",
|
||||||
"source-map": "^0.6.1",
|
"source-map": "^0.6.1",
|
||||||
"source-map-support": "0.4.18",
|
"source-map-support": "0.5.9",
|
||||||
"tsickle": "0.32.1",
|
"tsickle": "0.32.1",
|
||||||
"tslib": "^1.7.1",
|
"tslib": "^1.7.1",
|
||||||
"typescript": "~3.1.1",
|
"typescript": "~3.1.1",
|
||||||
@ -90,7 +88,8 @@
|
|||||||
},
|
},
|
||||||
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
|
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@bazel/bazel": "^0.18.1",
|
"@bazel/bazel": "~0.20.0",
|
||||||
|
"@bazel/buildifier": "^0.19.2",
|
||||||
"@bazel/ibazel": "~0.8.2",
|
"@bazel/ibazel": "~0.8.2",
|
||||||
"@types/angular": "^1.6.47",
|
"@types/angular": "^1.6.47",
|
||||||
"@types/base64-js": "1.2.5",
|
"@types/base64-js": "1.2.5",
|
||||||
|
@ -30,19 +30,19 @@ def rules_angular_dependencies():
|
|||||||
_maybe(
|
_maybe(
|
||||||
http_archive,
|
http_archive,
|
||||||
name = "build_bazel_rules_typescript",
|
name = "build_bazel_rules_typescript",
|
||||||
url = "https://github.com/bazelbuild/rules_typescript/archive/0.21.0.zip",
|
url = "https://github.com/bazelbuild/rules_typescript/archive/0.22.0.zip",
|
||||||
strip_prefix = "rules_typescript-0.21.0",
|
strip_prefix = "rules_typescript-0.22.0",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Needed for Remote Execution
|
# Needed for Remote Execution
|
||||||
_maybe(
|
_maybe(
|
||||||
http_archive,
|
http_archive,
|
||||||
name = "bazel_toolchains",
|
name = "bazel_toolchains",
|
||||||
sha256 = "c3b08805602cd1d2b67ebe96407c1e8c6ed3d4ce55236ae2efe2f1948f38168d",
|
sha256 = "07a81ee03f5feae354c9f98c884e8e886914856fb2b6a63cba4619ef10aaaf0b",
|
||||||
strip_prefix = "bazel-toolchains-5124557861ebf4c0b67f98180bff1f8551e0b421",
|
strip_prefix = "bazel-toolchains-31b5dc8c4e9c7fd3f5f4d04c6714f2ce87b126c1",
|
||||||
urls = [
|
urls = [
|
||||||
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/5124557861ebf4c0b67f98180bff1f8551e0b421.tar.gz",
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/31b5dc8c4e9c7fd3f5f4d04c6714f2ce87b126c1.tar.gz",
|
||||||
"https://github.com/bazelbuild/bazel-toolchains/archive/5124557861ebf4c0b67f98180bff1f8551e0b421.tar.gz",
|
"https://github.com/bazelbuild/bazel-toolchains/archive/31b5dc8c4e9c7fd3f5f4d04c6714f2ce87b126c1.tar.gz",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -74,37 +74,20 @@ def rules_angular_dev_dependencies():
|
|||||||
url = "https://github.com/google/brotli/archive/v1.0.5.zip",
|
url = "https://github.com/google/brotli/archive/v1.0.5.zip",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Fetching the Bazel source code allows us to compile the Skylark linter
|
|
||||||
http_archive(
|
|
||||||
name = "io_bazel",
|
|
||||||
sha256 = "978f7e0440dd82182563877e2e0b7c013b26b3368888b57837e9a0ae206fd396",
|
|
||||||
strip_prefix = "bazel-0.18.0",
|
|
||||||
url = "https://github.com/bazelbuild/bazel/archive/0.18.0.zip",
|
|
||||||
)
|
|
||||||
|
|
||||||
http_archive(
|
|
||||||
name = "com_github_bazelbuild_buildtools",
|
|
||||||
sha256 = "a82d4b353942b10c1535528b02bff261d020827c9c57e112569eddcb1c93d7f6",
|
|
||||||
strip_prefix = "buildtools-0.17.2",
|
|
||||||
url = "https://github.com/bazelbuild/buildtools/archive/0.17.2.zip",
|
|
||||||
)
|
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# Dependencies for generating documentation #
|
# Dependencies for generating documentation #
|
||||||
#############################################
|
#############################################
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "io_bazel_rules_sass",
|
name = "io_bazel_rules_sass",
|
||||||
sha256 = "dbe9fb97d5a7833b2a733eebc78c9c1e3880f676ac8af16e58ccf2139cbcad03",
|
strip_prefix = "rules_sass-1.15.1",
|
||||||
strip_prefix = "rules_sass-1.11.0",
|
url = "https://github.com/bazelbuild/rules_sass/archive/1.15.1.zip",
|
||||||
url = "https://github.com/bazelbuild/rules_sass/archive/1.11.0.zip",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "io_bazel_skydoc",
|
name = "io_bazel_skydoc",
|
||||||
sha256 = "7bfb5545f59792a2745f2523b9eef363f9c3e7274791c030885e7069f8116016",
|
strip_prefix = "skydoc-a9550cb3ca3939cbabe3b589c57b6f531937fa99",
|
||||||
strip_prefix = "skydoc-fe2e9f888d28e567fef62ec9d4a93c425526d701",
|
|
||||||
# TODO: switch to upstream when https://github.com/bazelbuild/skydoc/pull/103 is merged
|
# TODO: switch to upstream when https://github.com/bazelbuild/skydoc/pull/103 is merged
|
||||||
url = "https://github.com/alexeagle/skydoc/archive/fe2e9f888d28e567fef62ec9d4a93c425526d701.zip",
|
url = "https://github.com/alexeagle/skydoc/archive/a9550cb3ca3939cbabe3b589c57b6f531937fa99.zip",
|
||||||
)
|
)
|
||||||
|
|
||||||
def _maybe(repo_rule, name, **kwargs):
|
def _maybe(repo_rule, name, **kwargs):
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
"@schematics/angular": "^7.0.4",
|
"@schematics/angular": "^7.0.4",
|
||||||
"@types/node": "6.0.84",
|
"@types/node": "6.0.84",
|
||||||
"shelljs": "0.8.2",
|
"shelljs": "0.8.2",
|
||||||
"tsickle": "0.32.1"
|
"tsickle": "0.34.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/compiler-cli": "0.0.0-PLACEHOLDER",
|
"@angular/compiler-cli": "0.0.0-PLACEHOLDER",
|
||||||
|
@ -4,6 +4,13 @@ ts_library(
|
|||||||
name = "test_lib",
|
name = "test_lib",
|
||||||
testonly = True,
|
testonly = True,
|
||||||
srcs = glob(["**/*.ts"]),
|
srcs = glob(["**/*.ts"]),
|
||||||
|
deps = [
|
||||||
|
"//packages:types",
|
||||||
|
"//packages/benchpress",
|
||||||
|
"//packages/core",
|
||||||
|
"//packages/core/testing",
|
||||||
|
"@ngdeps//protractor",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
jasmine_node_test(
|
jasmine_node_test(
|
||||||
|
@ -18,6 +18,7 @@ ts_library(
|
|||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/core/testing",
|
"//packages/core/testing",
|
||||||
"//packages/platform-server",
|
"//packages/platform-server",
|
||||||
|
"//packages/private/testing",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ ts_library(
|
|||||||
deps = [
|
deps = [
|
||||||
"//packages/compiler-cli/src/ngcc",
|
"//packages/compiler-cli/src/ngcc",
|
||||||
"//packages/compiler-cli/src/ngtsc/host",
|
"//packages/compiler-cli/src/ngtsc/host",
|
||||||
|
"//packages/compiler-cli/src/ngtsc/metadata",
|
||||||
"//packages/compiler-cli/src/ngtsc/testing",
|
"//packages/compiler-cli/src/ngtsc/testing",
|
||||||
"//packages/compiler-cli/src/ngtsc/transform",
|
"//packages/compiler-cli/src/ngtsc/transform",
|
||||||
"@ngdeps//@types/convert-source-map",
|
"@ngdeps//@types/convert-source-map",
|
||||||
|
@ -8,6 +8,7 @@ ts_library(
|
|||||||
),
|
),
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/service-worker/config",
|
"//packages/service-worker/config",
|
||||||
|
"//packages/service-worker/config/testing",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
133
third_party/github.com/bazelbuild/bazel-toolchains/bazelrc/bazel-0.20.0.bazelrc
vendored
Normal file
133
third_party/github.com/bazelbuild/bazel-toolchains/bazelrc/bazel-0.20.0.bazelrc
vendored
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
# Copyright 2016 The Bazel Authors. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
# This file is auto-generated from release/bazelrc.tpl and should not be
|
||||||
|
# modified directly.
|
||||||
|
|
||||||
|
# This .bazelrc file contains all of the flags required for the toolchain,
|
||||||
|
# Remote Build Execution, and the Bazel Build Results UI. Specific flags in
|
||||||
|
# your Bazel command allow you to use only the remote build, to use only the
|
||||||
|
# results UI, or to use them both together.
|
||||||
|
#
|
||||||
|
# This .bazelrc file also contains all of the flags required for the local
|
||||||
|
# docker sandboxing.
|
||||||
|
|
||||||
|
# Depending on how many machines are in the remote execution instance, setting
|
||||||
|
# this higher can make builds faster by allowing more jobs to run in parallel.
|
||||||
|
# Setting it too high can result in jobs that timeout, however, while waiting
|
||||||
|
# for a remote machine to execute them.
|
||||||
|
build:remote --jobs=50
|
||||||
|
|
||||||
|
# Set several flags related to specifying the platform, toolchain and java
|
||||||
|
# properties.
|
||||||
|
# These flags are duplicated rather than imported from (for example)
|
||||||
|
# %workspace%/configs/ubuntu16_04_clang/1.1/toolchain.bazelrc to make this
|
||||||
|
# bazelrc a standalone file that can be copied more easily.
|
||||||
|
# These flags should only be used as is for the rbe-ubuntu16-04 container
|
||||||
|
# and need to be adapted to work with other toolchain containers.
|
||||||
|
build:remote --host_javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:jdk8
|
||||||
|
build:remote --javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:jdk8
|
||||||
|
build:remote --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
|
||||||
|
build:remote --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
|
||||||
|
build:remote --crosstool_top=@bazel_toolchains//configs/ubuntu16_04_clang/1.1/bazel_0.20.0/default:toolchain
|
||||||
|
build:remote --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
|
||||||
|
# Platform flags:
|
||||||
|
# The toolchain container used for execution is defined in the target indicated
|
||||||
|
# by "extra_execution_platforms", "host_platform" and "platforms".
|
||||||
|
# If you are using your own toolchain container, you need to create a platform
|
||||||
|
# target with "constraint_values" that allow for the toolchain specified with
|
||||||
|
# "extra_toolchains" to be selected (given constraints defined in
|
||||||
|
# "exec_compatible_with").
|
||||||
|
# More about platforms: https://docs.bazel.build/versions/master/platforms.html
|
||||||
|
build:remote --extra_toolchains=@bazel_toolchains//configs/ubuntu16_04_clang/1.1/bazel_0.20.0/cpp:cc-toolchain-clang-x86_64-default
|
||||||
|
build:remote --extra_execution_platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:rbe_ubuntu1604
|
||||||
|
build:remote --host_platform=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:rbe_ubuntu1604
|
||||||
|
build:remote --platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:rbe_ubuntu1604
|
||||||
|
|
||||||
|
# Set various strategies so that all actions execute remotely. Mixing remote
|
||||||
|
# and local execution will lead to errors unless the toolchain and remote
|
||||||
|
# machine exactly match the host machine.
|
||||||
|
build:remote --spawn_strategy=remote
|
||||||
|
build:remote --strategy=Javac=remote
|
||||||
|
build:remote --strategy=Closure=remote
|
||||||
|
build:remote --genrule_strategy=remote
|
||||||
|
build:remote --define=EXECUTOR=remote
|
||||||
|
|
||||||
|
# Enable the remote cache so action results can be shared across machines,
|
||||||
|
# developers, and workspaces.
|
||||||
|
build:remote --remote_cache=remotebuildexecution.googleapis.com
|
||||||
|
|
||||||
|
# Enable remote execution so actions are performed on the remote systems.
|
||||||
|
build:remote --remote_executor=remotebuildexecution.googleapis.com
|
||||||
|
|
||||||
|
# Enable encryption.
|
||||||
|
build:remote --tls_enabled=true
|
||||||
|
|
||||||
|
# Enforce stricter environment rules, which eliminates some non-hermetic
|
||||||
|
# behavior and therefore improves both the remote cache hit rate and the
|
||||||
|
# correctness and repeatability of the build.
|
||||||
|
build:remote --experimental_strict_action_env=true
|
||||||
|
|
||||||
|
# Set a higher timeout value, just in case.
|
||||||
|
build:remote --remote_timeout=3600
|
||||||
|
|
||||||
|
# Enable authentication. This will pick up application default credentials by
|
||||||
|
# default. You can use --auth_credentials=some_file.json to use a service
|
||||||
|
# account credential instead.
|
||||||
|
build:remote --auth_enabled=true
|
||||||
|
|
||||||
|
# Set flags for uploading to BES in order to view results in the Bazel Build
|
||||||
|
# Results UI.
|
||||||
|
build:results --bes_backend="buildeventservice.googleapis.com"
|
||||||
|
build:results --bes_timeout=60s
|
||||||
|
build:results --tls_enabled
|
||||||
|
|
||||||
|
# Output BES results url
|
||||||
|
build:results --bes_results_url="https://source.cloud.google.com/results/invocations/"
|
||||||
|
|
||||||
|
# Set flags for uploading to BES without Remote Build Execution.
|
||||||
|
build:results-local --bes_backend="buildeventservice.googleapis.com"
|
||||||
|
build:results-local --bes_timeout=60s
|
||||||
|
build:results-local --tls_enabled=true
|
||||||
|
build:results-local --auth_enabled=true
|
||||||
|
build:results-local --spawn_strategy=local
|
||||||
|
build:results-local --remote_cache=remotebuildexecution.googleapis.com
|
||||||
|
build:results-local --remote_timeout=3600
|
||||||
|
build:results-local --bes_results_url="https://source.cloud.google.com/results/invocations/"
|
||||||
|
|
||||||
|
# The following flags are only necessary for local docker sandboxing
|
||||||
|
# with the rbe-ubuntu16-04 container. Use of these flags is still experimental.
|
||||||
|
build:docker-sandbox --host_javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:jdk8
|
||||||
|
build:docker-sandbox --javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:jdk8
|
||||||
|
build:docker-sandbox --crosstool_top=@bazel_toolchains//configs/ubuntu16_04_clang/1.1/bazel_0.20.0/default:toolchain
|
||||||
|
build:docker-sandbox --experimental_docker_image=gcr.io/cloud-marketplace/google/rbe-ubuntu16-04@sha256:9bd8ba020af33edb5f11eff0af2f63b3bcb168cd6566d7b27c6685e717787928
|
||||||
|
build:docker-sandbox --spawn_strategy=docker
|
||||||
|
build:docker-sandbox --strategy=Javac=docker
|
||||||
|
build:docker-sandbox --strategy=Closure=docker
|
||||||
|
build:docker-sandbox --genrule_strategy=docker
|
||||||
|
build:docker-sandbox --define=EXECUTOR=remote
|
||||||
|
build:docker-sandbox --experimental_docker_verbose
|
||||||
|
build:docker-sandbox --experimental_enable_docker_sandbox
|
||||||
|
|
||||||
|
# The following flags enable the remote cache so action results can be shared
|
||||||
|
# across machines, developers, and workspaces.
|
||||||
|
build:remote-cache --remote_cache=remotebuildexecution.googleapis.com
|
||||||
|
build:remote-cache --tls_enabled=true
|
||||||
|
build:remote-cache --experimental_strict_action_env=true
|
||||||
|
build:remote-cache --remote_timeout=3600
|
||||||
|
build:remote-cache --auth_enabled=true
|
||||||
|
build:remote-cache --spawn_strategy=standalone
|
||||||
|
build:remote-cache --strategy=Javac=standalone
|
||||||
|
build:remote-cache --strategy=Closure=standalone
|
||||||
|
build:remote-cache --genrule_strategy=standalone
|
@ -31,7 +31,7 @@ platform(
|
|||||||
remote_execution_properties = """
|
remote_execution_properties = """
|
||||||
properties: {
|
properties: {
|
||||||
name: "container-image"
|
name: "container-image"
|
||||||
value:"docker://gcr.io/asci-toolchain/nosla-ubuntu16_04-webtest@sha256:55fae2e51ecf38fec9778ab93a9b4edd7d318eeb5f420602450d3b509b52edf9"
|
value:"docker://gcr.io/asci-toolchain/nosla-ubuntu16_04-webtest@sha256:e874885f5e3d9ac0c0d3176e5369cb5969467dbf9ad8d42b862829cec8d84b9b"
|
||||||
}
|
}
|
||||||
properties: {
|
properties: {
|
||||||
name: "dockerAddCapabilities"
|
name: "dockerAddCapabilities"
|
||||||
|
@ -11,6 +11,7 @@ module.exports = (gulp) => () => {
|
|||||||
const ignoredScopes = [
|
const ignoredScopes = [
|
||||||
'aio',
|
'aio',
|
||||||
'docs-infra',
|
'docs-infra',
|
||||||
|
'ivy',
|
||||||
];
|
];
|
||||||
|
|
||||||
return gulp.src('CHANGELOG.md')
|
return gulp.src('CHANGELOG.md')
|
||||||
|
86
yarn.lock
86
yarn.lock
@ -40,39 +40,57 @@
|
|||||||
"@angular-devkit/core" "7.0.5"
|
"@angular-devkit/core" "7.0.5"
|
||||||
rxjs "6.3.3"
|
rxjs "6.3.3"
|
||||||
|
|
||||||
"@bazel/bazel-darwin_x64@0.18.0":
|
"@bazel/bazel-darwin_x64@0.20.0":
|
||||||
version "0.18.0"
|
version "0.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.18.0.tgz#bab437605a702279d42f59caa4741bb327eb7dbc"
|
resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.20.0.tgz#648d61c32a3c5fccb7bf70b753071b6e54b11f21"
|
||||||
integrity sha512-um2OzgLL2Gd/W6joOpvrSTcqpnupliPNpwe/uE7sB0huBSJ/4Im0w2IlCTI6C7OfgMcbpUj4YxgUa9T6u6WY6w==
|
integrity sha512-zeoeVK504341GfnaxdaB4pFzQV0YOK1HLiYj3/ocamPFxAJRh9abvKB8iOpqD5Oal0j7VsINxnXCjovp9a4urA==
|
||||||
|
|
||||||
"@bazel/bazel-linux_x64@0.18.0":
|
"@bazel/bazel-linux_x64@0.20.0":
|
||||||
version "0.18.0"
|
version "0.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.18.0.tgz#0c02b2404ec95c180e17615cc7079ee07df48a69"
|
resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.20.0.tgz#2568628a0d0b85dcc69d0ab701b1d6e10551357d"
|
||||||
integrity sha512-Rq8X8bL6SgQvbOHnfPhSgF6hp+f6Fbt2w6pRmBlFvV1J+CeUyrSrrRXfnnO1bjIuq05Ur3mV8ULA0qK6rtA5lQ==
|
integrity sha512-PpHzoEqfXty8dc1/p1tVFXtbPyrE1n0N79QmYePjJ5mJMyW7uBF/zV4IajYY8+IpJEcDVq5v4BavSexOmVJRmA==
|
||||||
|
|
||||||
"@bazel/bazel-win32_x64@0.18.0":
|
"@bazel/bazel-win32_x64@0.20.0":
|
||||||
version "0.18.0"
|
version "0.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.18.0.tgz#aa4575fb00066dcf59a6d464971774dea6a0bafd"
|
resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.20.0.tgz#af7d041dae4c066e7aa8618949e2de1aad07495e"
|
||||||
integrity sha512-U2TbfK8B7dc3JqXSFwj2oXCQrxEaSzCCUkAHjAOIGOKzx/HLKIKs+NJj9IQkLLr7BsMU+Qqzo8aqo11E+Vs+aA==
|
integrity sha512-3bqHXFBvLnbvNzr1KCQ1zryTYvHMoQffaWVekbckgPyT2VPEj3abuB91+DrRYmZdPjcgPYnjnyanxZHDkKuF2g==
|
||||||
|
|
||||||
"@bazel/bazel@^0.18.1":
|
"@bazel/bazel@~0.20.0":
|
||||||
version "0.18.1"
|
version "0.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-0.18.1.tgz#97c235bcc4d40139dd9029b232273b69270ad3a5"
|
resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-0.20.0.tgz#46688e915896b27200df61ab8175a7ba3e378915"
|
||||||
integrity sha512-2KjB0umWsW5or78hTG/RVLmAKmeouyDjqjNsGlOY3pzpj9yqDMG5iDPJh4Q1/hXxiDmF2qZWwqWIEh55LFZXaQ==
|
integrity sha512-JT6hOR6CU24K8Vxdfedkm/MOCjF2stl/GodDw2jmEeDEEcxDId4LQVwYxAt7zAsaJ4a7UB1xjIH7GN5GBuUaYQ==
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
"@bazel/bazel-darwin_x64" "0.18.0"
|
"@bazel/bazel-darwin_x64" "0.20.0"
|
||||||
"@bazel/bazel-linux_x64" "0.18.0"
|
"@bazel/bazel-linux_x64" "0.20.0"
|
||||||
"@bazel/bazel-win32_x64" "0.18.0"
|
"@bazel/bazel-win32_x64" "0.20.0"
|
||||||
|
|
||||||
|
"@bazel/buildifier-darwin_x64@0.19.2":
|
||||||
|
version "0.19.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@bazel/buildifier-darwin_x64/-/buildifier-darwin_x64-0.19.2.tgz#1182862b4a3578fb9367ab42e807131187a61702"
|
||||||
|
integrity sha512-f6CITRj8jFhhZFrQkIao3IgJjZAXGYwUkW/QBSeAu0HIltBerJ0FTt/Nmu9ji1QZYT2aO4RpZ8oJksG6xv1dcQ==
|
||||||
|
|
||||||
|
"@bazel/buildifier-linux_x64@0.19.2":
|
||||||
|
version "0.19.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@bazel/buildifier-linux_x64/-/buildifier-linux_x64-0.19.2.tgz#8b26eaf1f091cd3846a7dd7ea94008b55498401e"
|
||||||
|
integrity sha512-kJjzbrjuAW4yVms5mbTWSHpJF6ogDLkuq4MjVP6a03umQ7E15o9YoxbDoiN+CzAj9ZMWPWfc5/N5TouiwXkGzA==
|
||||||
|
|
||||||
|
"@bazel/buildifier@^0.19.2":
|
||||||
|
version "0.19.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@bazel/buildifier/-/buildifier-0.19.2.tgz#3e077de346ad98561cee703297aa8db50cfb3c76"
|
||||||
|
integrity sha512-MwkuoQdOdZ/VYKJvZe3qVCn3/20pLJyJpzNl3cBmaccWeUtdDKhtOm8YlLU08lxrt0VcKNcTYt4uiA62e/315A==
|
||||||
|
optionalDependencies:
|
||||||
|
"@bazel/buildifier-darwin_x64" "0.19.2"
|
||||||
|
"@bazel/buildifier-linux_x64" "0.19.2"
|
||||||
|
|
||||||
"@bazel/ibazel@~0.8.2":
|
"@bazel/ibazel@~0.8.2":
|
||||||
version "0.8.2"
|
version "0.8.2"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.8.2.tgz#a837d93922c0d273361ed4f141c792384c0e10bb"
|
resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.8.2.tgz#a837d93922c0d273361ed4f141c792384c0e10bb"
|
||||||
integrity sha512-5lbqeoqv2sIRybV9s4CIRNBR68wdv22wfpNY1qmO3AsPrLx4zICPXyW8YOiLaLvYPzvezPznfhD7Is13jU/jsQ==
|
integrity sha512-5lbqeoqv2sIRybV9s4CIRNBR68wdv22wfpNY1qmO3AsPrLx4zICPXyW8YOiLaLvYPzvezPznfhD7Is13jU/jsQ==
|
||||||
|
|
||||||
"@bazel/karma@0.21.0":
|
"@bazel/karma@~0.22.0":
|
||||||
version "0.21.0"
|
version "0.22.0"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-0.21.0.tgz#c5ed4c141f44d0e7e18586ad4cff5bd54f70f3cc"
|
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-0.22.0.tgz#d2688ed05ea7e0be320802847ccc936da2688c70"
|
||||||
integrity sha512-V5kxijZ7j/6x7+yNxPhhPrjO0APtNrlr5Gg/I9JRy3/SE3Y88yrPNIiEApLkfYWYWGQuoJO2LifUZA8BOXwLEA==
|
integrity sha512-ZhdkVR92UEOdON7hNjBJPdAUEFzibc/RC3TqBWupowl2+YsMZmxk8AsGjAmc9FaMkhCX9SDQC0OzGkUkuC6r3w==
|
||||||
dependencies:
|
dependencies:
|
||||||
jasmine-core "2.8.0"
|
jasmine-core "2.8.0"
|
||||||
karma alexeagle/karma#fa1a84ac881485b5657cb669e9b4e5da77b79f0a
|
karma alexeagle/karma#fa1a84ac881485b5657cb669e9b4e5da77b79f0a
|
||||||
@ -85,10 +103,10 @@
|
|||||||
requirejs "2.3.5"
|
requirejs "2.3.5"
|
||||||
tmp "0.0.33"
|
tmp "0.0.33"
|
||||||
|
|
||||||
"@bazel/typescript@0.21.0":
|
"@bazel/typescript@~0.22.0":
|
||||||
version "0.21.0"
|
version "0.22.0"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.21.0.tgz#41c304f77a42c6a016280d0f4c20e0749c3f4b2a"
|
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.22.0.tgz#8b38183125c3f25e6023b12a371561d9b54182d8"
|
||||||
integrity sha512-ASXj0RFybmqoa3LwqkTU3gNkX9bY9wL/VDNo5hlp9pynYWl4RMpe9V3m/qDIdtSuLJ+qD+Z3FKT/OcpWQHMlYA==
|
integrity sha512-2oKxPHlt3TNJx2RVVvC00ahcYNuIg1pQPjKQO7qyMNGGme3fqqzv5gRUDa5be/B01FxQDFpuBCHoavH7PilPRA==
|
||||||
dependencies:
|
dependencies:
|
||||||
protobufjs "5.0.3"
|
protobufjs "5.0.3"
|
||||||
source-map-support "0.5.9"
|
source-map-support "0.5.9"
|
||||||
@ -7567,13 +7585,6 @@ source-map-resolve@^0.5.0:
|
|||||||
source-map-url "^0.4.0"
|
source-map-url "^0.4.0"
|
||||||
urix "^0.1.0"
|
urix "^0.1.0"
|
||||||
|
|
||||||
source-map-support@0.4.18, source-map-support@~0.4.0:
|
|
||||||
version "0.4.18"
|
|
||||||
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f"
|
|
||||||
integrity sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==
|
|
||||||
dependencies:
|
|
||||||
source-map "^0.5.6"
|
|
||||||
|
|
||||||
source-map-support@0.4.3:
|
source-map-support@0.4.3:
|
||||||
version "0.4.3"
|
version "0.4.3"
|
||||||
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.3.tgz#693c8383d4389a4569486987c219744dfc601685"
|
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.3.tgz#693c8383d4389a4569486987c219744dfc601685"
|
||||||
@ -7597,6 +7608,13 @@ source-map-support@^0.5.0:
|
|||||||
buffer-from "^1.0.0"
|
buffer-from "^1.0.0"
|
||||||
source-map "^0.6.0"
|
source-map "^0.6.0"
|
||||||
|
|
||||||
|
source-map-support@~0.4.0:
|
||||||
|
version "0.4.18"
|
||||||
|
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f"
|
||||||
|
integrity sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==
|
||||||
|
dependencies:
|
||||||
|
source-map "^0.5.6"
|
||||||
|
|
||||||
source-map-url@^0.4.0:
|
source-map-url@^0.4.0:
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
|
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
|
||||||
|
Reference in New Issue
Block a user