File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.";
You can’t perform that action at this time.
0 commit comments