Skip to content

Commit 727e633

Browse files
committed
build: allow no-remote-exec targets to be cached on CI
1 parent e929f9f commit 727e633

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

.circleci/dynamic_config.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,6 @@ commands:
136136
# cause decryption failures based on the openssl version. https://stackoverflow.com/a/39641378/4317734
137137
openssl aes-256-cbc -d -in .circleci/gcp_token -md md5 -k "${<< parameters.key >>}" -out /home/circleci/.gcp_credentials;
138138
sudo bash -c "echo -e 'build --google_credentials=/home/circleci/.gcp_credentials' >> .bazelrc.user";
139-
# Upload/don't upload local results to cache based on environment
140-
if [[ -n "{$CIRCLE_PULL_REQUEST}" ]]; then
141-
sudo bash -c "echo -e 'build:remote --remote_upload_local_results=false\n' >> .bazelrc.user";
142-
echo "Not uploading local build results to remote cache.";
143-
else
144-
sudo bash -c "echo -e 'build:remote --remote_upload_local_results=true\n' >> .bazelrc.user";
145-
echo "Uploading local build results to remote cache.";
146-
fi
147139
# Enable remote builds
148140
sudo bash -c "echo -e 'build --config=remote' >> .bazelrc.user";
149141
echo "Reading from remote cache for bazel remote jobs.";

packages/angular_devkit/core/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ ts_library(
7070
jasmine_node_test(
7171
name = "core_test_" + toolchain_name,
7272
srcs = [":core_test_lib"],
73-
# TODO: Audit tests to determine if tests can be run in RBE environments
74-
local = True,
7573
toolchain = toolchain,
7674
deps = [
7775
# @node_module: ajv

0 commit comments

Comments
 (0)