Add chrome v123 to e2e and gitlab images

This commit is contained in:
Andrejs Cunskis 2024-04-10 14:02:41 +00:00 committed by Rémy Coutable
parent 19ce50799c
commit ec3390307a
4 changed files with 10 additions and 6 deletions

View file

@ -39,7 +39,7 @@ function build_debian() {
CHROME_VERSION_BASE=$(echo $CHROME_VERSION | awk -F "." '{print $1 "." $2 "." $3}')
CHROME_VERSION_MAJOR=$(echo $CHROME_VERSION | awk -F "." '{print $1}')
CHROME_DRIVER_VERSION=$(curl -q https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_$CHROME_VERSION_BASE)
WEBDRIVER_URL=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/$CHROME_DRIVER_VERSION/linux64/chromedriver-linux64.zip
WEBDRIVER_URL=https://storage.googleapis.com/chrome-for-testing-public/$CHROME_DRIVER_VERSION/linux64/chromedriver-linux64.zip
wget -q -O chromedriver.zip $WEBDRIVER_URL
unzip -j chromedriver.zip -d /usr/local/bin

View file

@ -97,6 +97,10 @@ function print_chrome_args() {
CHROME_VERSION=120.0.6099.216-1
CHROMIUM_VERSION=120.0.6099.216-1
;;
123|123.0)
CHROME_VERSION=123.0.6312.105-1
CHROMIUM_VERSION=123.0.6312.105-1
;;
*) fail "Unknown chrome version $1" ;;
esac
printf -- "--build-arg CHROME_VERSION=%s " "$CHROME_VERSION"