Remove chromedriver; import script installs latest version
authorGerhard Schlager <mail@gerhard-schlager.at>
Mon, 25 Mar 2019 14:24:58 +0000 (15:24 +0100)
committerGerhard Schlager <mail@gerhard-schlager.at>
Mon, 25 Mar 2019 14:29:27 +0000 (15:29 +0100)
templates/import/chrome-dep.template.yml

index ca9bac3003dacab6c45aff9713a4bc052b177eac..31f1ee4f7478fac50369b56df05fff3f869ce58c 100644 (file)
@@ -1,4 +1,4 @@
-# This template installs Chrome and ChromeDriver for imports
+# This template installs Chrome for imports
 
 hooks:
   after_bundle_exec:
@@ -7,6 +7,4 @@ hooks:
       cmd:
       - curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
       - echo "deb [arch=amd64]  http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
-      - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y unzip google-chrome-stable
-      - LATEST_VERSION=$(curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE) && wget https://chromedriver.storage.googleapis.com/$LATEST_VERSION/chromedriver_linux64.zip
-      - unzip chromedriver_linux64.zip -d /usr/local/bin
+      - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y google-chrome-stable
\ No newline at end of file