Skip to content

Commit

Permalink
Remove chromedriver; import script installs latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
gschlager committed Mar 25, 2019
1 parent 1eea5fb commit d4153d5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/import/chrome-dep.template.yml
@@ -1,4 +1,4 @@
# This template installs Chrome and ChromeDriver for imports
# This template installs Chrome for imports

hooks:
after_bundle_exec:
Expand All @@ -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

1 comment on commit d4153d5

@ZogStriP
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.