This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pouchdb.git
The following commit(s) were added to refs/heads/master by this push:
new 25a5bb4be ci: avoid azure mirrors if possible
25a5bb4be is described below
commit 25a5bb4beb9ef1383a1099f477f1dbfe2b492fff
Author: Alex Feyerke <[email protected]>
AuthorDate: Tue Apr 14 11:37:57 2026 +0200
ci: avoid azure mirrors if possible
---
bin/run-test.sh | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/bin/run-test.sh b/bin/run-test.sh
index 89feca5c2..96fb3202c 100755
--- a/bin/run-test.sh
+++ b/bin/run-test.sh
@@ -83,11 +83,14 @@ pouchdb-build-node() {
}
if [[ $CI = true ]] && [[ $CLIENT != node ]]; then
- # npx playwright install --with-deps "$CLIENT"
- # The full install with deps was glacially slow on CI
- npx playwright install "$CLIENT"
- sudo apt-get update
- sudo apt-get install -y libwoff1 libvpx9 libevent-2.1-7t64 libopus0
libgstreamer-plugins-base1.0-0 libgstreamer-gl1.0-0
libgstreamer-plugins-bad1.0-0 libflite1 libavif16 libharfbuzz-icu0
libsecret-1-0 libhyphen0 libwayland-server0 libmanette-0.2-0 libgles2
gstreamer1.0-libav
+ # Change Ubuntu mirror priorities.
+ # azure.archive.ubuntu.com is very slow, especially if the US is awake.
+ # From https://github.com/servo/servo/pull/39190
+ sudo sed -i '/archive.ubuntu.com\/ubuntu\/\tpriority/
s/priority:2/priority:0/' /etc/apt/apt-mirrors.txt
+ sudo sed -i '/azure.archive.ubuntu.com\/ubuntu\/\tpriority/
s/priority:0/priority:1/' /etc/apt/apt-mirrors.txt
+ sudo sed -i '/security.ubuntu.com\/ubuntu\/\tpriority/
s/priority:3/priority:2/' /etc/apt/apt-mirrors.txt
+ sudo cat /etc/apt/apt-mirrors.txt
+ npx playwright install --with-deps "$CLIENT"
fi
if [[ -n $SERVER ]]; then