Skip to content

Commit

Permalink
[ci] Add second bazel mirror (ray-project#24913)
Browse files Browse the repository at this point in the history
Builds are currently failing because `mirror.bazel.build`'s SSL certificate expired. This PR adds another bazel mirror to avoid this problem.

Builds are still failing because https://github.com/jupp0r/prometheus-cpp explicitly lists `mirror.bazel.build`.
  • Loading branch information
krfricke authored May 23, 2022
1 parent ec89fe5 commit bcf77f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/ray_deps_setup.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def auto_http_archive(
If strip_prefix == True , it is auto-deduced.
"""
DOUBLE_SUFFIXES_LOWERCASE = [("tar", "bz2"), ("tar", "gz"), ("tar", "xz")]
mirror_prefixes = ["https://mirror.bazel.build/"]
mirror_prefixes = ["https://mirror.bazel.build/", "https://storage.googleapis.com/bazel-mirror"]

canonical_url = url if url != None else urls[0]
url_parts = urlsplit(canonical_url)
Expand Down

0 comments on commit bcf77f3

Please sign in to comment.