This repository was archived by the owner on Apr 4, 2025. It is now read-only.
File tree 6 files changed +721
-46
lines changed 6 files changed +721
-46
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ build --experimental_repository_cache=/home/circleci/bazel_repository_cache
23
23
24
24
# Workaround https://github.com/bazelbuild/bazel/issues/3645
25
25
# Bazel doesn't calculate the memory ceiling correctly when running under Docker.
26
- # Limit Bazel to consuming 2560K of RAM
27
- build --local_resources=2560 ,1.0,1.0
26
+ # Limit Bazel to consuming 2048K of RAM
27
+ build --local_resources=2048 ,1.0,1.0
28
28
# Also limit Bazel's own JVM heap to stay within our 4G container limit
29
- startup --host_jvm_args=-Xmx1g
29
+ startup --host_jvm_args=-Xmx1280m
30
30
31
31
# Use fixed chunk names for code-split bundles in CI
32
32
# so that GitHub buildsize bot reports are accurate
Original file line number Diff line number Diff line change 4
4
# We use a docker image as the basis for our build, so that all the toolchains we use
5
5
# are already installed and the build can start running right away. It also guarantees
6
6
# the environment is portable and reproducible on your local machine.
7
- var_1 : &docker_image angular/ngcontainer:0.6 .0
7
+ var_1 : &docker_image angular/ngcontainer:0.7 .0
8
8
9
9
# CircleCI lets us pick the key for storing one or more caches, to speed up subsequent builds.
10
10
# We can use this to avoid re-fetching our dependencies from npm on every build.
@@ -13,7 +13,7 @@ var_1: &docker_image angular/ngcontainer:0.6.0
13
13
# - the branch we are on, which really shouldn't be needed since the yarn lock file should be hermetic
14
14
# - the docker image tag, working around an issue we saw where changing docker images causes permission
15
15
# errors when restoring the cache, like when the user we run as changes
16
- var_2 : &cache_key angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.6 .0
16
+ var_2 : &cache_key angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.7 .0
17
17
18
18
# Each job will inherit these defaults
19
19
anchor_1 : &job_defaults
Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ http_archive(
21
21
)
22
22
23
23
# The @angular repo contains rule for building Angular applications
24
+ # TODO(gmagolan): Update to next 7.0.x tag when it is released
24
25
http_archive (
25
26
name = "angular" ,
26
- url = "https://github.com/angular/angular/archive/08e4489cf5a93a352954f1639da5e92112993753 .zip" ,
27
- strip_prefix = "angular-08e4489cf5a93a352954f1639da5e92112993753 " ,
27
+ url = "https://github.com/angular/angular/archive/bfeceb3d3e636d755c2bd7bdd85b7136da066c78 .zip" ,
28
+ strip_prefix = "angular-bfeceb3d3e636d755c2bd7bdd85b7136da066c78 " ,
28
29
)
29
30
30
31
# The @rxjs repo contains targets for building rxjs with bazel
@@ -35,6 +36,13 @@ http_archive(
35
36
sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403" ,
36
37
)
37
38
39
+ # Rules for compiling sass
40
+ http_archive (
41
+ name = "io_bazel_rules_sass" ,
42
+ url = "https://github.com/bazelbuild/rules_sass/archive/1.14.1.zip" ,
43
+ strip_prefix = "rules_sass-1.14.1" ,
44
+ )
45
+
38
46
# This local_repository rule is needed to prevent `bazel build ...` from
39
47
# drilling down into the @rxjs workspace BUILD files in node_modules/rxjs/src.
40
48
# In the future this will no longer be needed.
Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ ts_library(
13
13
],
14
14
)
15
15
16
+ # The @npm//@angular/bazel npm dependency provides
17
+ # the @angular/bazel/protractor-utils
16
18
protractor_web_test_suite (
17
19
name = "prodserver_test" ,
18
20
data = [
19
- "@angular//packages /bazel/src/protractor/utils " ,
21
+ "@npm//@angular /bazel" ,
20
22
"@npm//protractor" ,
21
23
"@npm//zone.js" ,
22
24
],
@@ -25,10 +27,12 @@ protractor_web_test_suite(
25
27
deps = [":e2e" ],
26
28
)
27
29
30
+ # The @npm//@angular/bazel npm dependency provides
31
+ # the @angular/bazel/protractor-utils
28
32
protractor_web_test_suite (
29
33
name = "devserver_test" ,
30
34
data = [
31
- "@angular//packages /bazel/src/protractor/utils " ,
35
+ "@npm//@angular /bazel" ,
32
36
"@npm//protractor" ,
33
37
"@npm//zone.js" ,
34
38
],
Original file line number Diff line number Diff line change 11
11
"zone.js" : " 0.8.26"
12
12
},
13
13
"devDependencies" : {
14
- "@angular/compiler" : " github:angular/compiler-builds#bazel" ,
15
- "@angular/compiler-cli" : " github:angular/compiler-cli-builds#bazel" ,
16
- "@angular/core" : " github:angular/core-builds#bazel" ,
14
+ "@angular/bazel" : " github:angular/bazel-builds#7.0.x" ,
15
+ "@angular/compiler" : " github:angular/compiler-builds#7.0.x" ,
16
+ "@angular/compiler-cli" : " github:angular/compiler-cli-builds#7.0.x" ,
17
+ "@angular/core" : " github:angular/core-builds#7.0.x" ,
17
18
"@bazel/benchmark-runner" : " 0.1.0" ,
18
19
"@bazel/ibazel" : " 0.5.0" ,
19
- "@bazel/karma" : " 0.20.2 " ,
20
- "@bazel/typescript" : " 0.20.2 " ,
20
+ "@bazel/karma" : " 0.20.3 " ,
21
+ "@bazel/typescript" : " 0.20.3 " ,
21
22
"@types/jasmine" : " 2.8.8" ,
22
23
"@types/node" : " 6.0.117" ,
23
24
"clang-format" : " 1.2.4" ,
You can’t perform that action at this time.
0 commit comments