From 122e14854a89fc972e98fe6d2aff72c31ab5e5a2 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Thu, 10 Feb 2022 12:29:35 -0800 Subject: [PATCH] Update to Chrome 98 Chrome 89 does not support Debian bullseye. --- .gitlab/ci/gitlab.images.yml | 2 +- scripts/custom-docker-build | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/gitlab.images.yml b/.gitlab/ci/gitlab.images.yml index 72f9ade..aed86e5 100644 --- a/.gitlab/ci/gitlab.images.yml +++ b/.gitlab/ci/gitlab.images.yml @@ -2,7 +2,7 @@ .gitlab-matrix: variables: LFS: '2.9' - CHROME: '89' + CHROME: '98' NODE: '14.15' YARN: '1.22' GRAPHICSMAGICK: '1.3.36' diff --git a/scripts/custom-docker-build b/scripts/custom-docker-build index bc3eec3..2023b17 100755 --- a/scripts/custom-docker-build +++ b/scripts/custom-docker-build @@ -32,7 +32,7 @@ function print_golang_args() { # If you add a new minor version here, be sure to check that the # Chrome versions can be found at https://www.ubuntuupdates.org/pm/google-chrome-stable. -# ChromeDriver supports this: https://sites.google.com/a/chromium.org/chromedriver/downloads. +# ChromeDriver supports this: https://sites.google.com/chromium.org/driver/downloads # You may need to bump the version in scripts/install-chrome. function print_chrome_args() { case "$1" in @@ -76,6 +76,10 @@ function print_chrome_args() { CHROME_VERSION=89.0.4389.90-1 CHROME_DRIVER_VERSION=89.0.4389.23 ;; + 98|98.0) + CHROME_VERSION=98.0.4758.80-1 + CHROME_DRIVER_VERSION=98.0.4758.80 + ;; *) echo "Unknown chrome version $1"; exit 1; esac printf -- "--build-arg CHROME_VERSION=%s " "$CHROME_VERSION"