Skip to content

Commit 29acf2d

Browse files
committed
[ci] Pinning browsers
1 parent e236c36 commit 29acf2d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

common/repositories.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ js_library(
5151
http_archive(
5252
name = "linux_beta_firefox",
5353
url = "https://ftp.mozilla.org/pub/firefox/releases/135.0b6/linux-x86_64/en-US/firefox-135.0b6.tar.bz2",
54-
sha256 = "55f7d9e99b8e2d4e0e193b2f0275501e6d9c1ebd29cadbea6a0da48a8587e3e0",
54+
sha256 = "104ae2f77c52f428ca0e037b0167e147d508b822e77543b26530dbef6764a018",
5555
build_file_content = """
5656
load("@aspect_rules_js//js:defs.bzl", "js_library")
5757
package(default_visibility = ["//visibility:public"])

scripts/pinned_browsers.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def firefox():
405405

406406
beta_firefox = firefox_versions["LATEST_FIREFOX_RELEASED_DEVEL_VERSION"]
407407
if latest_firefox != beta_firefox:
408-
sha_linux = calculate_hash(firefox_linux(beta_firefox))
408+
sha_linux = calculate_hash(firefox_linux_beta(beta_firefox))
409409
sha_mac = calculate_hash(firefox_mac(beta_firefox))
410410
return content + print_firefox(beta_firefox, "beta_", sha_linux, sha_mac)
411411

@@ -418,6 +418,9 @@ def firefox_version_data():
418418
def firefox_linux(version):
419419
return "https://ftp.mozilla.org/pub/firefox/releases/%s/linux-x86_64/en-US/firefox-%s.tar.bz2" % (version, version)
420420

421+
def firefox_linux_beta(version):
422+
return "https://ftp.mozilla.org/pub/firefox/releases/%s/linux-x86_64/en-US/firefox-%s.tar.xz" % (version, version)
423+
421424

422425
def firefox_mac(version):
423426
return "https://ftp.mozilla.org/pub/firefox/releases/%s/mac/en-US/Firefox%%20%s.dmg" % (version, version)

0 commit comments

Comments
 (0)