2018-01-25 12:55:27 -05:00
|
|
|
#!/bin/sh
|
|
|
|
# Install bazel remote cache proxy
|
|
|
|
# This is temporary until the feature is no longer experimental on CircleCI.
|
|
|
|
# See remote cache documentation in /docs/BAZEL.md
|
|
|
|
|
|
|
|
set -u -e
|
|
|
|
|
2018-07-24 17:26:08 -04:00
|
|
|
readonly DOWNLOAD_URL="https://5-116431813-gh.circle-artifacts.com/0/pkg/bazel-remote-proxy-$(uname -s)_$(uname -m)"
|
2018-01-25 12:55:27 -05:00
|
|
|
|
|
|
|
curl --fail -o ~/bazel-remote-proxy "$DOWNLOAD_URL"
|
|
|
|
chmod +x ~/bazel-remote-proxy
|