[renovate] feat: add ansible vars and dockerfile to default config
All checks were successful
Renovate Bot / Renovate (push) Successful in 1m30s

This commit is contained in:
Simon Cornet 2024-07-18 11:51:42 +02:00
parent da8ab990b8
commit 73ef163630

View File

@ -17,5 +17,26 @@
"automerge": true "automerge": true
} }
], ],
"branchPrefix": "renovate_" "branchPrefix": "renovate_",
"customManager": [
{
"customType": "regex",
"description": "Update _version variables in Ansible",
"fileMatch": ["(.*).ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z0-9-]+?))?\\s.+?_version: '(?<currentValue>.+?)'\\s"
],
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"description": "Update _VERSION variables in Dockerfiles",
"fileMatch": ["Dockerfile(.*)"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z0-9-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
]
} }