add lighthouse-ci report upload

master
Robert Kaussow 2020-07-17 09:15:14 +02:00
parent ceb2f71482
commit 74dbd20633
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
1 changed files with 18 additions and 3 deletions

View File

@ -36,10 +36,25 @@ steps:
LINK_VALIDATOR_BASE_DIR: exampleSite/public LINK_VALIDATOR_BASE_DIR: exampleSite/public
- name: page-validation - name: page-validation
image: patrickhulce/lhci-client image: xoxys/lhci
user: root
commands: commands:
- lhci autorun - lhci autorun
environment:
LHCI_SERVER_URL: https://drone-artifact.rknet.org/${DRONE_REPO_NAME}/
- name: page-validation-upload
image: plugins/s3
settings:
access_key:
from_secret: s3_access_key
bucket: drone-artifact
endpoint: https://sp.rknet.org
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: lhci_reports/dist/*
strip_prefix: lhci_reports/dist/
target: /${DRONE_REPO_NAME}
trigger: trigger:
ref: ref:
@ -215,6 +230,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 4764c7afd506eaa92d3a85fb983813ff240d15aecb2692406aae5b3fb387ff6b hmac: 5b1fd3a1193dccbccf4d10c33cb4d8e56710f23adbf090d7fbbaea403b69285e
... ...