From c944f40b1beeeb8e656c5ea49429426051f6b2f8 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 10 Mar 2020 16:13:13 +0100 Subject: [PATCH] use correct version of chromedriver * also updated message format in .drone.yml --- .drone.yml | 6 +++--- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2d49a72..f6d7907 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ platform: steps: - name: call webhook pull: always - image: curlimages/curl + image: curlimages/curl:latest environment: ENDPOINT: from_secret: dockerhub_endpoint @@ -46,7 +46,7 @@ steps: pull: always image: appleboy/drone-discord:1.2.4 settings: - message: "{{#success build.status}} āœ… Build #{{build.number}} of `{{repo.name}}` succeeded.\n\nšŸ“ Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\nšŸŒ {{ build.link }} {{else}} āŒ Build #{{build.number}} of `{{repo.name}}` failed.\n\nšŸ“ Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\nšŸŒ {{ build.link }} {{/success}}\n" + message: "{{#success build.status}} āœ… Build #{{build.number}} of `{{repo.name}}` succeeded.\n\ncommit `${DRONE_COMMIT_SHA:0:1}` by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n{{ build.link }}\n {{else}} āŒ Build #{{build.number}} of `{{repo.name}}` failed.\ncommit `${DRONE_COMMIT_SHA:0:7}` by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\n{{ build.link }}\n {{/success}}\n" webhook_id: from_secret: discord_webhook_id webhook_token: @@ -82,7 +82,7 @@ steps: pull: always image: appleboy/drone-discord:1.2.4 settings: - message: "{{#success build.status}} āœ… Build #{{build.number}} of `{{repo.name}}` succeeded.\n\nšŸ“ Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\nšŸŒ {{ build.link }} {{else}} āŒ Build #{{build.number}} of `{{repo.name}}` failed.\n\nšŸ“ Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\nšŸŒ {{ build.link }} {{/success}}\n" + message: "{{#success build.status}} āœ… Hourly build #{{build.number}} of `{{repo.name}}` succeeded.\n\ncommit `${DRONE_COMMIT_SHA:0:1}` by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n{{ build.link }}\n {{else}} āŒ Build #{{build.number}} of `{{repo.name}}` failed.\ncommit `${DRONE_COMMIT_SHA:0:7}` by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\n{{ build.link }}\n {{/success}}\n" webhook_id: from_secret: discord_webhook_hourly_id webhook_token: diff --git a/Dockerfile b/Dockerfile index b141d4b..31e4471 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN pacman -Syu --noconfirm --needed python python-pip wget tar chromium \ && pacman -Scc \ && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \ && pip install robotframework robotframework-seleniumlibrary \ - && wget -qO- https://chromedriver.storage.googleapis.com/80.0.3987.16/chromedriver_linux64.zip | bsdtar -xvf - \ + && wget -qO- https://chromedriver.storage.googleapis.com/80.0.3987.106/chromedriver_linux64.zip | bsdtar -xvf - \ && chmod -v +x chromedriver \ && mkdir -pv /usr/local/bin \ && mv -v chromedriver /usr/local/bin/