diff options
author | Adele Zhou <adelez@google.com> | 2017-11-21 11:21:11 -0800 |
---|---|---|
committer | Adele Zhou <adelez@google.com> | 2017-11-30 17:10:27 -0800 |
commit | 020603d1cfd42e5c3fcecea028163ec372ed492d (patch) | |
tree | 2da9ef3784cd7518e4817e36ca623eed9e3265b3 | |
parent | 6c38fbe4be96e6071f23e86802f618af790d0459 (diff) |
Use canary bazel
-rw-r--r-- | tools/internal_ci/linux/grpc_bazel_on_foundry.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/internal_ci/linux/grpc_bazel_on_foundry.sh b/tools/internal_ci/linux/grpc_bazel_on_foundry.sh index fc8727f5a0..58055bb37a 100644 --- a/tools/internal_ci/linux/grpc_bazel_on_foundry.sh +++ b/tools/internal_ci/linux/grpc_bazel_on_foundry.sh @@ -13,8 +13,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -ex -o igncr || set -ex +set -ex +mkdir -p /tmpfs/tmp/bazel-canary +ln -f "${KOKORO_GFILE_DIR}/bazel-canary" /tmpfs/tmp/bazel-canary/bazel +chmod 755 "${KOKORO_GFILE_DIR}/bazel-canary" +export PATH="/tmpfs/tmp/bazel-canary:${PATH}" +# This should show /tmpfs/tmp/bazel-canary/bazel which bazel chmod +x "${KOKORO_GFILE_DIR}/bazel_wrapper.py" |