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: steps:
- name: call webhook - name: call webhook
pull: always pull: always
image: curlimages/curl image: curlimages/curl:latest
environment: environment:
ENDPOINT: ENDPOINT:
from_secret: dockerhub_endpoint from_secret: dockerhub_endpoint
@ -46,7 +46,7 @@ steps:
pull: always pull: always
image: appleboy/drone-discord:1.2.4 image: appleboy/drone-discord:1.2.4
settings: 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: webhook_id:
from_secret: discord_webhook_id from_secret: discord_webhook_id
webhook_token: webhook_token:
@ -82,7 +82,7 @@ steps:
pull: always pull: always
image: appleboy/drone-discord:1.2.4 image: appleboy/drone-discord:1.2.4
settings: 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: webhook_id:
from_secret: discord_webhook_hourly_id from_secret: discord_webhook_hourly_id
webhook_token: webhook_token:

@ -4,7 +4,7 @@ RUN pacman -Syu --noconfirm --needed python python-pip wget tar chromium \
&& pacman -Scc \ && pacman -Scc \
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \ && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
&& pip install robotframework robotframework-seleniumlibrary \ && 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 \ && chmod -v +x chromedriver \
&& mkdir -pv /usr/local/bin \ && mkdir -pv /usr/local/bin \
&& mv -v chromedriver /usr/local/bin/ && mv -v chromedriver /usr/local/bin/