use correct version of chromedriver
All checks were successful
continuous-integration/drone/push Build is passing

* also updated message format in .drone.yml
This commit is contained in:
surtur 2020-03-10 16:13:13 +01:00
parent 6c4f3be930
commit c944f40b1b
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 4 additions and 4 deletions

@ -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:

@ -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/