mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Bump to Chrome V66 and tie ChromeDriver version to each version of Chrome
This commit is contained in:
parent
074863eb8c
commit
6c649b55fb
4 changed files with 35 additions and 15 deletions
|
|
@ -3,7 +3,8 @@
|
|||
set -xeuo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
CHROME_VERSION=${1:-60.0.3112.90-1}
|
||||
CHROME_VERSION=${1:-66.0.3359.181-1}
|
||||
CHROME_DRIVER_VERSION=${2:-2.38}
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
curl -sS -L https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||
|
|
@ -31,6 +32,6 @@ fi
|
|||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install ChromeDriver
|
||||
wget -q https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip
|
||||
wget -q https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip
|
||||
unzip chromedriver_linux64.zip -d /usr/local/bin
|
||||
rm -f chromedriver_linux64.zip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue