diff --git a/.renovaterc.json b/.renovaterc.json new file mode 100644 index 0000000..6ffb21f --- /dev/null +++ b/.renovaterc.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + "docker:enableMajor" + ], + "prConcurrentLimit": 5, + "semanticCommits": false, + "commitMessagePrefix": "automation:", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "to {{#if isMajor}}version {{{newMajor}}}{{else}}{{#if isSingleVersion}}version {{{toVersion}}}{{else}}{{{newValue}}}{{/if}}{{/if}}", + "regexManagers": [ + { + "fileMatch": ["defaults/main.yml$"], + "matchStrings": [ + "# renovate: depName=(?.*?)( versioning=(?.*?))?\\n(?\\S+?)(_(?\\S+?))?_version: \"?(?[^\"]*?)\"?\\s" + ], + "depNameTemplate": "{{#if softwareName}}{{{roleName}}}-{{{softwareName}}}{{else}}{{{roleName}}}{{/if}}", + "datasourceTemplate": "docker", + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}docker{{/if}}" + } + ], + "docker": { + "commitMessageTopic": "{{{depName}}}", + "commitMessageExtra": "to {{#if isMajor}}version {{{newMajor}}}{{else}}{{#if isSingleVersion}}version {{{toVersion}}}{{else}}{{{newValue}}}{{/if}}{{/if}}" + }, + "packageRules": [ + { + "packageNames": [ + "docker.io/cactus4docker/go-camo", + "docker.io/tootsuite/mastodon", + "docker.io/ldez/traefik-certs-dumper", + "docker.io/matrixdotorg/synapse" + ], + "extractVersion": "^v(?.*)$" + } + ] +}