Skip to content

Commit e2cac36

Browse files
authored
Merge branch 'trunk' into dotnet-atoms-res-gen
2 parents 9321944 + 7a532ba commit e2cac36

File tree

4 files changed

+357
-377
lines changed

4 files changed

+357
-377
lines changed

.github/workflows/mirror-selenium-releases.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,26 @@ jobs:
1616
fetch-depth: 0
1717
- name: Read api.github.com and filter response
1818
run: |
19+
set -euo pipefail
1920
cd common/mirror
20-
export JQ_FILTER="[.[] | {tag_name: .tag_name, assets: [.assets[] | {browser_download_url: .browser_download_url} ] } ]"
21-
curl -H "Authorization: ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/SeleniumHQ/selenium/releases | jq "$JQ_FILTER" > selenium
21+
TOKEN="${{ secrets.GITHUB_TOKEN }}"
22+
JQ_FILTER='[.[] | {tag_name: .tag_name, assets: [.assets[] | {browser_download_url: .browser_download_url} ] } ]'
23+
page=1
24+
tmpfile="$(mktemp)"
25+
: > "$tmpfile"
26+
while :; do
27+
echo "Fetching SeleniumHQ/selenium releases page $page..."
28+
resp=$(curl -fsSL \
29+
-H "Authorization: token $TOKEN" \
30+
"https://api.github.com/repos/SeleniumHQ/selenium/releases?per_page=100&page=${page}")
31+
if [ "$(echo "$resp" | jq 'length')" -eq 0 ]; then
32+
break
33+
fi
34+
echo "$resp" | jq "$JQ_FILTER" >> "$tmpfile"
35+
page=$((page+1))
36+
done
37+
jq -s 'add' "$tmpfile" > selenium
38+
rm "$tmpfile"
2239
- name: Commit files
2340
id: git
2441
run: |

common/mirror/selenium

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -439,40 +439,5 @@
439439
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.19.0/selenium-server-4.19.1.zip"
440440
}
441441
]
442-
},
443-
{
444-
"tag_name": "selenium-4.18.0",
445-
"assets": [
446-
{
447-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-dotnet-4.18.0.zip"
448-
},
449-
{
450-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-dotnet-4.18.1.zip"
451-
},
452-
{
453-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-dotnet-strongnamed-4.18.0.zip"
454-
},
455-
{
456-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-dotnet-strongnamed-4.18.1.zip"
457-
},
458-
{
459-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-java-4.18.0.zip"
460-
},
461-
{
462-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-java-4.18.1.zip"
463-
},
464-
{
465-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-server-4.18.0.jar"
466-
},
467-
{
468-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-server-4.18.0.zip"
469-
},
470-
{
471-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-server-4.18.1.jar"
472-
},
473-
{
474-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.18.0/selenium-server-4.18.1.zip"
475-
}
476-
]
477442
}
478443
]

common/repositories.bzl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ js_library(
5050

5151
http_archive(
5252
name = "linux_beta_firefox",
53-
url = "https://ftp.mozilla.org/pub/firefox/releases/146.0b2/linux-x86_64/en-US/firefox-146.0b2.tar.xz",
54-
sha256 = "6e36da789aee6b540a5c0946b059ec58fcb05dc86a1218fbb1f8ae675d453eff",
53+
url = "https://ftp.mozilla.org/pub/firefox/releases/146.0b4/linux-x86_64/en-US/firefox-146.0b4.tar.xz",
54+
sha256 = "bb585a3087f53b754bc36d58b2b7fee32b2674676f36aba4026c0cd495ce0016",
5555
build_file_content = """
5656
load("@aspect_rules_js//js:defs.bzl", "js_library")
5757
package(default_visibility = ["//visibility:public"])
@@ -72,8 +72,8 @@ js_library(
7272

7373
dmg_archive(
7474
name = "mac_beta_firefox",
75-
url = "https://ftp.mozilla.org/pub/firefox/releases/146.0b2/mac/en-US/Firefox%20146.0b2.dmg",
76-
sha256 = "a065a20bce43cc88a0979268babfee71f89fb30510425716958c8519d0af0bb9",
75+
url = "https://ftp.mozilla.org/pub/firefox/releases/146.0b4/mac/en-US/Firefox%20146.0b4.dmg",
76+
sha256 = "a777c6cda35fd2d66abd21489edc4f6181de3e10829c7e2ea8e0483e6141ec3d",
7777
build_file_content = """
7878
load("@aspect_rules_js//js:defs.bzl", "js_library")
7979
package(default_visibility = ["//visibility:public"])
@@ -199,8 +199,8 @@ js_library(
199199

200200
http_archive(
201201
name = "linux_chrome",
202-
url = "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.162/linux64/chrome-linux64.zip",
203-
sha256 = "26c4f7b82018d5068e6cbe7a7b57fc3ed1770b5c743d79b8905876eb4a8cee45",
202+
url = "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.175/linux64/chrome-linux64.zip",
203+
sha256 = "855d228f4918b9e21b059a3ab6785a2217489dc570d220d73c4fa667c83b4582",
204204
build_file_content = """
205205
load("@aspect_rules_js//js:defs.bzl", "js_library")
206206
package(default_visibility = ["//visibility:public"])
@@ -220,8 +220,8 @@ js_library(
220220
)
221221
http_archive(
222222
name = "mac_chrome",
223-
url = "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.162/mac-x64/chrome-mac-x64.zip",
224-
sha256 = "36a78d8b82a83c04a9930a1e3a032a85748bce10318bd80f7abcf880ab074fba",
223+
url = "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.175/mac-x64/chrome-mac-x64.zip",
224+
sha256 = "a45af4dd5fab07869694e43f1865cb4a6170226b2e196e53202607e3a8db56fc",
225225
strip_prefix = "chrome-mac-x64",
226226
patch_cmds = [
227227
"mv 'Google Chrome for Testing.app' Chrome.app",
@@ -241,8 +241,8 @@ js_library(
241241
)
242242
http_archive(
243243
name = "linux_chromedriver",
244-
url = "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.162/linux64/chromedriver-linux64.zip",
245-
sha256 = "ea6d89522633d43eeeccef0f8f1b9739ea045355a8e4c651b8cd99efa9fe646d",
244+
url = "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.175/linux64/chromedriver-linux64.zip",
245+
sha256 = "2a859045e176e8af4ab2daca73f6f2e41937f37fecaecef3c9e78cc8fa9ecad7",
246246
strip_prefix = "chromedriver-linux64",
247247
build_file_content = """
248248
load("@aspect_rules_js//js:defs.bzl", "js_library")
@@ -259,8 +259,8 @@ js_library(
259259

260260
http_archive(
261261
name = "mac_chromedriver",
262-
url = "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.162/mac-x64/chromedriver-mac-x64.zip",
263-
sha256 = "551e24a3ea0d40e3de9a89d93373a00e255db1e687c0c45a8fd5fc8761845766",
262+
url = "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.175/mac-x64/chromedriver-mac-x64.zip",
263+
sha256 = "40bf1e10a4722a6fe7c40aeed14f530fcd08a8ce0d7a04df393ac35f9bde1ae8",
264264
strip_prefix = "chromedriver-mac-x64",
265265
build_file_content = """
266266
load("@aspect_rules_js//js:defs.bzl", "js_library")

0 commit comments

Comments
 (0)