Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 8a734f1

Browse files
gregmagolanalexeagle
authored andcommitted
Update bazel 0.14.1 (#156)
* Update to bazel 0.14.1 * limit bazel jvm heap too
1 parent 98b341c commit 8a734f1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.circleci/bazel.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ build --experimental_repository_cache=/home/circleci/bazel_repository_cache
2525
# Bazel doesn't calculate the memory ceiling correctly when running under Docker.
2626
# Limit Bazel to consuming 3072K of RAM
2727
build --local_resources=3072,2.0,1.0
28+
# Also limit Bazel's own JVM heap to stay within our 4G container limit
29+
startup --host_jvm_args=-Xmx2G

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# We use a docker image as the basis for our build, so that all the toolchains we use
55
# are already installed and the build can start running right away. It also guarantees
66
# the environment is portable and reproducible on your local machine.
7-
var_1: &docker_image angular/ngcontainer:0.3.1
7+
var_1: &docker_image angular/ngcontainer:0.3.2
88

99
# CircleCI lets us pick the key for storing one or more caches, to speed up subsequent builds.
1010
# 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.3.1
1313
# - the branch we are on, which really shouldn't be needed since the yarn lock file should be hermetic
1414
# - the docker image tag, working around an issue we saw where changing docker images causes permission
1515
# errors when restoring the cache, like when the user we run as changes
16-
var_2: &cache_key angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.3.1
16+
var_2: &cache_key angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.3.2
1717

1818
# Each job will inherit these defaults
1919
anchor_1: &job_defaults

0 commit comments

Comments
 (0)