Skip to content

Commit

Permalink
Use minimal Bazel for downstream projects.
Browse files Browse the repository at this point in the history
See bazelbuild/bazel#6314 for context.
  • Loading branch information
meisterT committed Dec 19, 2018
1 parent d11d40b commit 37e4a03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,17 +724,17 @@ def print_environment_variables_info():

def upload_bazel_binary(platform):
print_collapsed_group(":gcloud: Uploading Bazel Under Test")
binary_path = "bazel-bin/src/bazel"
binary_path = "bazel-bin/src/bazel_jdk_minimal"
if platform == "windows":
binary_path = r"bazel-bin\src\bazel"
binary_path = r"bazel-bin\src\bazel_jdk_minimal"
execute_command(["buildkite-agent", "artifact", "upload", binary_path])


def download_bazel_binary(dest_dir, platform):
host_platform = PLATFORMS[platform].get("host-platform", platform)
binary_path = "bazel-bin/src/bazel"
binary_path = "bazel-bin/src/bazel_jdk_minimal"
if platform == "windows":
binary_path = r"bazel-bin\src\bazel"
binary_path = r"bazel-bin\src\bazel_jdk_minimal"

source_step = create_label(host_platform, "Bazel", build_only=True)
execute_command(["buildkite-agent", "artifact", "download",
Expand Down

0 comments on commit 37e4a03

Please sign in to comment.