From 30c9ace78cf255ef7453c42e75ce99c694ae1e94 Mon Sep 17 00:00:00 2001 From: renovate-bot Date: Wed, 15 Dec 2021 17:39:56 +0000 Subject: [PATCH 1/3] Add renovate.json --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..39a2b6e --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ] +} -- 2.39.5 From a5d68dadd5ad0f85bfaa084818ad1fd3f2e049f8 Mon Sep 17 00:00:00 2001 From: SebClem Date: Wed, 15 Dec 2021 18:55:38 +0100 Subject: [PATCH 2/3] :hammer: Add regex to renovate --- renovate.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/renovate.json b/renovate.json index 39a2b6e..98bc190 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,15 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:base" + ], + "commitMessagePrefix": ":arrow_up:", + "regexManagers": [ + { + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\sENV .*?_VERSION=(?.*)\\s" + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + } ] } -- 2.39.5 From b307e55ac365be864805439987509a6aeba3e6ad Mon Sep 17 00:00:00 2001 From: SebClem Date: Wed, 15 Dec 2021 18:56:40 +0100 Subject: [PATCH 3/3] test --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6166f9a..56f3b6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- 2.39.5