|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- {
- "$schema": "https://docs.renovatebot.com/renovate-schema.json",
- "configMigration": true,
- "extends": [
- 'config:recommended',
-
- // Make sure we get a single PR combining all updates
- 'group:all',
- ],
- "automerge": false,
- "separateMinorPatch": true,
- "gitAuthor": "renovate[bot] <bot@renovateapp.com>",
- "enabledManagers": [
- "dockerfile",
- "custom.regex"
- ],
- "packageRules": [
- {
- "matchDatasources": [
- "repology"
- ],
- "matchPackagePatterns": [
- "^debian_"
- ],
- "groupName": "debian packages",
- "groupSlug": "debian"
- },
- {
- "matchDatasources": [
- "repology"
- ],
- "matchPackagePatterns": [
- "^ubuntu_"
- ],
- "groupName": "ubuntu packages",
- "groupSlug": "ubuntu"
- }
- ],
- "customManagers": [
- {
- "description": "Update packages set in Dockerfiles",
- "customType": "regex",
- "fileMatch": [
- '(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$',
- '(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$',
- ],
- "matchStrings": [
- "#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s(ENV|ARG) .*?_VERSION=\"(?<currentValue>.*)\"\\s"
- ],
- "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}loose{{/if}}",
- "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}repology{{/if}}"
- }
- ],
-
- // Disable dependency dashboard
- "dependencyDashboard": false,
-
- // Use our labelling system
- "labels": ['dependencies'],
-
- // We generally always want the major version
- "separateMajorMinor": false,
- }
|