From 06eda84afa67e0c57f00629ca2640d8a004ad0b8 Mon Sep 17 00:00:00 2001 From: Andrejs Cunskis Date: Wed, 10 Jan 2024 10:23:39 +0000 Subject: [PATCH] Extract chromedriver directly to bin folder --- .gitlab/ci/e2e.images.yml | 10 +++++++++- scripts/install-chrome | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/e2e.images.yml b/.gitlab/ci/e2e.images.yml index bc66ed9..240b9c0 100644 --- a/.gitlab/ci/e2e.images.yml +++ b/.gitlab/ci/e2e.images.yml @@ -6,6 +6,14 @@ - !reference [.build_dynamic_image, rules] - changes: - "scripts/lib/custom-docker-build" + - "scripts/install-chrome" + - "scripts/install-docker" + - "scripts/install-essentials" + - "scripts/install-gcloud" + - "scripts/install-git" + - "scripts/install-kubectl" + - "scripts/install-lfs" + - "scripts/install-ruby" - ".gitlab/ci/e2e.images.yml" # Base image with just ruby and bundler @@ -34,7 +42,7 @@ e2e-chrome: matrix: - RUBY: ['3.0', '3.1', '3.2'] BUNDLER: ['2.4', '2.5'] - CHROME: ['113', '117', '119'] + CHROME: ['117', '119'] # Image used for running full e2e test suite e2e-full: diff --git a/scripts/install-chrome b/scripts/install-chrome index b1734dc..d5d5f77 100755 --- a/scripts/install-chrome +++ b/scripts/install-chrome @@ -50,7 +50,7 @@ function build_debian() { fi wget -q -O chromedriver.zip $WEBDRIVER_URL - unzip chromedriver.zip -d /usr/local/bin + unzip -j chromedriver.zip -d /usr/local/bin rm -f chromedriver.zip else DRIVER_DEB=$(download_deb driver)