Skip to content

Commit

Permalink
Use minimal Bazel for downstream projects. (bazelbuild#428)
Browse files Browse the repository at this point in the history
See bazelbuild/bazel#6314 for context.
  • Loading branch information
meisterT authored and philwo committed Dec 20, 2018
1 parent 1729377 commit d24015f
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 @@ -723,17 +723,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 d24015f

Please sign in to comment.