-
Notifications
You must be signed in to change notification settings - Fork 12k
More bazel tests #16976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
More bazel tests #16976
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
7d5a39f
build: also validade BUILD.bazel files
filipesilva 12f6fea
refactor: rename toplevel BUILD to BUILD.bazel
filipesilva 44dc350
fix(@ngtools/webpack): export VirtualFileSystemDecorator type
filipesilva 8d3ae1a
fix(@ngtools/webpack): remove internal markers
filipesilva 66de588
build: don't copy root package test folders
filipesilva f6d626a
build: use rules_nodejs 1.6.0 features
filipesilva 3108106
test(@angular-devkit/build-webpack): build and test with Bazel
filipesilva 15d84f1
test(@angular-devkit/build-angular): build and test with Bazel
filipesilva 2a9ae14
test(@angular-devkit/build-ng-packagr): build and test with Bazel
filipesilva 43a2dd1
build: add missing npm_package_archive targets
filipesilva 7f72c01
test(@angular/cli): add npm_integration_test
filipesilva 58e59e4
build: update yarn lock
filipesilva cea0326
test: remove non-bazel test setup
filipesilva 59744c0
ci: use xlarge for bazel tests
filipesilva 3185ce8
build: add webdriver-manager update & ngcc to postinstall
gregmagolan 903839a
docs: add bazel jasmine_node_test debug information
filipesilva c73a378
build: run tests depending on webdriver-manager locally
gregmagolan ed18067
build: use no-remote-exec tag so test still runs in sandbox
gregmagolan 35834f4
ci: update required status checks
filipesilva e94f786
build: use @bazel/bazelisk
filipesilva 903d44f
build: use ts_library macro with common defaults
filipesilva 03b5776
build: add rbe_ubuntu1604-angular docker permissions
filipesilva cd33c21
build: exclude nested node_modules laid out by yarn workspaces from a…
gregmagolan cbead4e
ci: add reasoning behind bazel jobs depending on build
filipesilva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
2.1.1 | ||
# [NB: this comment has to be after the first line, see https://github.com/bazelbuild/bazelisk/issues/117] | ||
# When updating the Bazel version you also need to update the RBE toolchains version in package.bzl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
load("//tools/npm_integration_test:npm_integration_test.bzl", "npm_integration_test") | ||
|
||
filegroup( | ||
name = "angular_cli_sources", | ||
srcs = glob( | ||
include = ["**/*"], | ||
exclude = [ | ||
"node_modules/**", | ||
".yarn_local_cache/**", | ||
], | ||
), | ||
) | ||
|
||
npm_integration_test( | ||
name = "angular_cli_test", | ||
check_npm_packages = [ | ||
"@angular/cli", | ||
"@angular-devkit/architect", | ||
"@angular-devkit/build-angular", | ||
"@angular-devkit/build-webpack", | ||
"@angular-devkit/build-optimizer", | ||
"@angular-devkit/core", | ||
"@angular-devkit/schematics", | ||
"@schematics/angular", | ||
"@schematics/update", | ||
], | ||
commands = [ | ||
# Workaround https://github.com/yarnpkg/yarn/issues/2165 | ||
# Yarn will cache file://dist URIs and not update | ||
"rm -rf ./.yarn_local_cache", | ||
"mkdir .yarn_local_cache", | ||
"patch-package-json", | ||
"$(rootpath @nodejs//:yarn_bin) install --cache-folder ./.yarn_local_cache", | ||
"$(rootpath @nodejs//:yarn_bin) --cache-folder ./.yarn_local_cache ng version", | ||
"rm -rf ./.yarn_local_cache", | ||
], | ||
data = [ | ||
"@nodejs//:yarn_bin", | ||
"@nodejs//:yarn_files", | ||
], | ||
npm_packages = { | ||
"//packages/angular/cli:npm_package_archive": "@angular/cli", | ||
"//packages/angular_devkit/architect:npm_package_archive": "@angular-devkit/architect", | ||
"//packages/angular_devkit/build_angular:npm_package_archive": "@angular-devkit/build-angular", | ||
"//packages/angular_devkit/core:npm_package_archive": "@angular-devkit/core", | ||
"//packages/angular_devkit/schematics:npm_package_archive": "@angular-devkit/schematics", | ||
"//packages/angular_devkit/build_optimizer:npm_package_archive": "@angular-devkit/build-optimizer", | ||
"//packages/angular_devkit/build_webpack:npm_package_archive": "@angular-devkit/build-webpack", | ||
"//packages/ngtools/webpack:npm_package_archive": "@ngtools/webpack", | ||
"//packages/schematics/angular:npm_package_archive": "@schematics/angular", | ||
"//packages/schematics/update:npm_package_archive": "@schematics/update", | ||
}, | ||
test_files = ":angular_cli_sources", | ||
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.