diff --git a/.cirrus.yml b/.cirrus.yml index 8328b96..2d305a4 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -318,9 +318,12 @@ task: cpu: 1 memory: 1G package_install_script: - - apt-get update - - apt-get install -y curl chromium - - ln -s -T /usr/bin/chromium /usr/bin/chromium-browser + - apt update + - apt-get install -y wget + - apt-get install -y gnupg2 + - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + - apt install curl -y + - apt install -y ./google-chrome-stable_current_amd64.deb env: CI_DISTRO: debian CI_MAIN_MODULE: /usr/lib/x86_64-linux-gnu/nss/libnssckbi.so diff --git a/testdata/try-chromium-connect.bash b/testdata/try-chromium-connect.bash index c32cb77..738c6ab 100755 --- a/testdata/try-chromium-connect.bash +++ b/testdata/try-chromium-connect.bash @@ -22,7 +22,7 @@ rm -f screenshot.png # Disable sandbox because Chromium doesn't support running the sandbox as root, # and the Cirrus container runs as root. See # https://github.com/Zenika/alpine-chrome . -chromium-browser --no-sandbox --headless --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage --screenshot=./screenshot.png "https://$SERVER_HOST" 2>&1 | tee log.txt +google-chrome --no-sandbox --headless --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage --screenshot=./screenshot.png "https://$SERVER_HOST" 2>&1 | tee log.txt TEXTOUT=$(cat log.txt) if echo "$TEXTOUT" | grep -q "SSL error"