Configure Renovate #1

Merged
sebclem merged 3 commits from renovate/configure into master 2021-12-15 18:59:15 +01:00
2 changed files with 17 additions and 1 deletions

View File

@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y git \
&& rm -rf /var/lib/apt/lists/*
# renovate: datasource=pypi depName=ansible
ENV ANSIBLE_VERSION=5.0.1
ENV ANSIBLE_VERSION=5.0.0
RUN pip3 install --no-cache-dir ansible==${ANSIBLE_VERSION}
COPY entrypoint /bin/entrypoint

16
renovate.json Normal file
View File

@ -0,0 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"commitMessagePrefix": ":arrow_up:",
"regexManagers": [
{
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}