Skip to content

Commit f6572f5

Browse files
authored
[build] Update base URL for Edge web driver (#16057)
1 parent bc88096 commit f6572f5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

common/repositories.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ js_library(
165165

166166
http_archive(
167167
name = "linux_edgedriver",
168-
url = "https://msedgedriver.azureedge.net/138.0.3351.83/edgedriver_linux64.zip",
168+
url = "https://msedgedriver.microsoft.com/138.0.3351.83/edgedriver_linux64.zip",
169169
sha256 = "ed7d3651a5087bf7cdd383c244de29fa9e6a347473ff53c0172583380c5f7256",
170170
build_file_content = """
171171
load("@aspect_rules_js//js:defs.bzl", "js_library")
@@ -182,7 +182,7 @@ js_library(
182182

183183
http_archive(
184184
name = "mac_edgedriver",
185-
url = "https://msedgedriver.azureedge.net/138.0.3351.83/edgedriver_mac64.zip",
185+
url = "https://msedgedriver.microsoft.com/138.0.3351.83/edgedriver_mac64.zip",
186186
sha256 = "a9e267a880300ed8dc77fc4ff12d4a66b49e3443d23c1091af277f332b2fc041",
187187
build_file_content = """
188188
load("@aspect_rules_js//js:defs.bzl", "js_library")

scripts/pinned_browsers.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,19 +256,19 @@ def edge():
256256

257257

258258
def edgedriver():
259-
r_stable = http.request("GET", "https://msedgedriver.azureedge.net/LATEST_STABLE")
259+
r_stable = http.request("GET", "https://msedgedriver.microsoft.com/LATEST_STABLE")
260260
stable_version = r_stable.data.decode("utf-16").strip()
261261
major_version = stable_version.split(".")[0]
262262
r = http.request(
263263
"GET",
264-
f"https://msedgedriver.azureedge.net/LATEST_RELEASE_{major_version}_LINUX",
264+
f"https://msedgedriver.microsoft.com/LATEST_RELEASE_{major_version}_LINUX",
265265
)
266266
linux_version = r.data.decode("utf-16").strip()
267267

268268
content = ""
269269

270270
linux = (
271-
"https://msedgedriver.azureedge.net/%s/edgedriver_linux64.zip" % linux_version
271+
"https://msedgedriver.microsoft.com/%s/edgedriver_linux64.zip" % linux_version
272272
)
273273
sha = calculate_hash(linux)
274274
content = (
@@ -296,10 +296,10 @@ def edgedriver():
296296

297297
r = http.request(
298298
"GET",
299-
f"https://msedgedriver.azureedge.net/LATEST_RELEASE_{major_version}_MACOS",
299+
f"https://msedgedriver.microsoft.com/LATEST_RELEASE_{major_version}_MACOS",
300300
)
301301
macos_version = r.data.decode("utf-16").strip()
302-
mac = "https://msedgedriver.azureedge.net/%s/edgedriver_mac64.zip" % macos_version
302+
mac = "https://msedgedriver.microsoft.com/%s/edgedriver_mac64.zip" % macos_version
303303
sha = calculate_hash(mac)
304304
content = (
305305
content

0 commit comments

Comments
 (0)