Commit 4fea2136 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #52679 from ixdy/bazel-comprehension-variables

Automatic merge from submit-queue (batch tested with PRs 52679, 52285). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.. bazel: set --incompatible_comprehension_variables_do_not_leak=false **What this PR does / why we need it**: future-proofing the repo against the upcoming release of bazel 0.6.0. x-ref #52677 **Release note**: ```release-note NONE ``` /assign @spxtr @BenTheElder @mikedanese
parents a8b3d38b 59906e29
......@@ -11,3 +11,9 @@ build --sandbox_tmpfs_path=/tmp
# Ensure that Bazel never runs as root, which can cause unit tests to fail.
# This flag requires Bazel 0.5.0+
build --sandbox_fake_username
# rules_go@82483596ec203eb9c1849937636f4cbed83733eb has a typo that
# inadvertently relies on comprehension variables leaking.
# TODO(ixdy): Remove this default once rules_go is bumped.
# Ref kubernetes/kubernetes#52677
build --incompatible_comprehension_variables_do_not_leak=false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment