This commit is contained in:
parent
72b5307bad
commit
02be928b82
@ -1,7 +1,2 @@
|
||||
- BUGFIX
|
||||
- use `chromium@edge` to fix error messages on localhost
|
||||
- ENHANCEMENT
|
||||
- create summary.md from lhci reports;
|
||||
can be added as comment to a PR
|
||||
- INTERNAL
|
||||
- migrate to `thegeeklab` namespace
|
||||
- setup renovate-bot
|
||||
|
13
Dockerfile
13
Dockerfile
@ -7,10 +7,15 @@ LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ARG BUILD_VERSION=latest
|
||||
ARG BUILD_VERSION
|
||||
ARG YQ_VERSION
|
||||
|
||||
ENV LHCI_VERSION="${BUILD_VERSION:-latest}" \
|
||||
LHCI_BASE_DIR=/drone/src \
|
||||
# renovate: datasource=npm depName=@lhci/cli
|
||||
ENV LHCI_VERSION="${BUILD_VERSION:-0.5.0}"
|
||||
# renovate: datasource=github-releases depName=mikefarah/yq
|
||||
ENV YQ_VERSION="${YQ_VERSION:-3.3.2}"
|
||||
|
||||
ENV LHCI_BASE_DIR=/drone/src \
|
||||
FORCE_COLOR=true \
|
||||
NPM_CONFIG_LOGLEVEL=error \
|
||||
PATH=/usr/bin:$PATH
|
||||
@ -22,7 +27,7 @@ RUN apk --update add --virtual .build-deps curl && \
|
||||
echo @edge http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && \
|
||||
apk update && \
|
||||
apk add --update --no-cache git chromium@edge jq && \
|
||||
curl -SsL -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_amd64 && \
|
||||
curl -SsL -o /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64" && \
|
||||
chmod 755 /usr/local/bin/yq && \
|
||||
LHCI_VERSION="${LHCI_VERSION##v}" && \
|
||||
LHCI_MAJOR="${LHCI_VERSION%%.*}" && \
|
||||
|
@ -1,6 +1,13 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:base"
|
||||
"extends": ["config:base"],
|
||||
"ignorePresets": [":prHourlyLimit2"],
|
||||
"regexManagers": [
|
||||
{
|
||||
"fileMatch": ["^Dockerfile$"],
|
||||
"matchStrings": [
|
||||
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user