{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:base" ], "enabledManagers": ["ansible", "ansible-galaxy", "dockerfile", "git-submodules", "helmv3", "kustomize", "regex"], "dockerfile": { "fileMatch": ["Containerfile"] }, "git-submodules": { "enabled": true }, "registryAliases": { "nextcloud": "https://nextcloud.github.io/helm/" }, "regexManagers": [ { "fileMatch": [ "^ansible/group_vars/all/versions.yaml$", "^ansible/roles/.*/defaults/main.yaml$" ], "matchStrings": [ "renovate:\\s+datasource=(?.*?) depName=(?.*?)( registryUrl=(?.+?))?( versioning=(?.*?))?\\s.*?_version:\\s+[\"']?(?[^'\"]*)[\"']?\\s" ], "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" }, { "fileMatch": [ "^rpms/SPECS/.*.spec$" ], "matchStrings": [ "renovate:\\s+datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\sVersion:\\s+(?.*)\\s" ], "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" }, { "fileMatch": [ "^docker/.*/Containerfile$" ], "matchStrings": [ "renovate:\\s+datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\s+ARG\\s+.*_VERSION=(?.*)\\s" ], "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" }, { "fileMatch": [ "^kustomize/.*/kustomization.yaml$" ], "matchStrings": [ "https:\\/\\/github.com\\/(?[^/]+\\/[^/]+?)\\/releases\\/download\\/(?[^/]+)\\/.*" ], "datasourceTemplate": "github-releases" }, { "fileMatch": [ "^.gitmodules$" ], "matchStrings": [ "\\[submodule\\s+\"[^\"]+\"]\\s*[^[]*\\s*url\\s*=\\s*(?.*?)\\s*branch\\s*=\\s*release-(?.*)" ], "datasourceTemplate": "git-tags", "versioningTemplate": "regex:^v?(?\\d+)\\.(?\\d+)" } ] }