From bc3acfd0216f17b37189ec286b01d54361f515cb Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Wed, 8 Nov 2023 16:05:11 +0100 Subject: [PATCH] [Renovate] Added initial comment --- Dockerfile.linux.amd64 | 6 +++++- renovate.json | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 renovate.json diff --git a/Dockerfile.linux.amd64 b/Dockerfile.linux.amd64 index 4bd4a4b..82f507c 100644 --- a/Dockerfile.linux.amd64 +++ b/Dockerfile.linux.amd64 @@ -1,9 +1,13 @@ # alpine version FROM alpine:3.18 -# software versions +# renovate: datasource=pypi depName=ansible-core versioning=pep440 ENV ANSIBLE_VERSION=2.13.11 + +# renovate: datasource=pypi depName=ansible-lint versioning=pep440 ENV ANSIBLE_LINT_VERSION=6.22.0 + +# renovate: datasource=pypi depName=yamllint versioning=pep440 ENV YAML_LINT_VERSION=1.32.0 # install software diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..8d52142 --- /dev/null +++ b/renovate.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "dependencyDashboard": true, + "dependencyDashboardApproval": true, + "major": { + "dependencyDashboardApproval": true + }, + "minor": { + "dependencyDashboardApproval": true + }, + "enabledManagers": ["dockerfile"], + "regexManagers": [ + { + "fileMatch": ["Dockerfile(.*)"], + "matchStrings": [ + "# renovate: datasource=(?[a-z-]+?) depName=(?.+?)(?: (?:packageName|lookupName)=(?.+?))?(?: versioning=(?[a-z0-9-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s" + ], + "versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}" + } + ] +}