aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-10-24 00:01:12 +0200
committerGravatar Dmitry Lomov <dslomov@google.com>2017-10-24 10:39:52 +0200
commit7b35d76c5bd81fb24ffafd17849e40de42c4f1fe (patch)
tree61936e3109ecbc4b6fca5811c59635a809ed5b32
parent2fcf7f5a839d56ab508a9e3796aba3928bfcd19f (diff)
Update "mirror.bazel.build" urls to use https. (All traffic to *.bazel.* is now routed through https, so those http requests currently cause a redirect. This removes the redirect.)
RELNOTES: Update "mirror.bazel.build" urls to use https. PiperOrigin-RevId: 173175888
-rw-r--r--WORKSPACE2
-rw-r--r--src/test/py/bazel/bazel_external_repository_test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/WORKSPACE b/WORKSPACE
index a86032d907..cab4a0e75f 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -130,7 +130,7 @@ http_file(
http_archive(
name = "bazel_toolchains",
urls = [
- "http://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/b2b4b38433bf2d1159360855ea4004378308711b.tar.gz",
+ "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/b2b4b38433bf2d1159360855ea4004378308711b.tar.gz",
"https://github.com/bazelbuild/bazel-toolchains/archive/b2b4b38433bf2d1159360855ea4004378308711b.tar.gz",
],
strip_prefix = "bazel-toolchains-b2b4b38433bf2d1159360855ea4004378308711b",
diff --git a/src/test/py/bazel/bazel_external_repository_test.py b/src/test/py/bazel/bazel_external_repository_test.py
index fae6e0a0b7..86da68e91d 100644
--- a/src/test/py/bazel/bazel_external_repository_test.py
+++ b/src/test/py/bazel/bazel_external_repository_test.py
@@ -25,7 +25,7 @@ class BazelExternalRepositoryTest(test_base.TestBase):
'new_http_archive(',
' name = "six_archive",',
' urls = [',
- ' "http://mirror.bazel.build/pypi.python.org/%s' %
+ ' "https://mirror.bazel.build/pypi.python.org/%s' %
'packages/source/s/six/six-1.10.0.tar.gz",',
' "https://pypi.python.org/packages/%s' %
'source/s/six/six-1.10.0.tar.gz",',