|
| 1 | +{ |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 3 | + extends: [ |
| 4 | + 'config:recommended', |
| 5 | + ], |
| 6 | + dependencyDashboard: true, |
| 7 | + postUpdateOptions: [ |
| 8 | + 'gomodTidy', |
| 9 | + ], |
| 10 | + separateMinorPatch: true, |
| 11 | + additionalReviewers: [ |
| 12 | + 'team:ske-infrastructure', |
| 13 | + ], |
| 14 | + labels: [ |
| 15 | + 'kind/upgrade', |
| 16 | + ], |
| 17 | + commitMessagePrefix: '🤖', |
| 18 | + customManagers: [ |
| 19 | + { |
| 20 | + description: 'Update `_VERSION` and `_version` variables in Makefiles and scripts. Inspired by `regexManagers:dockerfileVersions` preset.', |
| 21 | + customType: 'regex', |
| 22 | + managerFilePatterns: [ |
| 23 | + '/Makefile$/', |
| 24 | + '/\\.mk$/', |
| 25 | + '/\\.sh$/', |
| 26 | + ], |
| 27 | + matchStrings: [ |
| 28 | + '# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s.+?_(VERSION|version) *[?:]?= *"?(?<currentValue>.+?)"?\\s', |
| 29 | + ], |
| 30 | + }, |
| 31 | + { |
| 32 | + description: 'Update `imagevector/images.yaml`', |
| 33 | + customType: 'regex', |
| 34 | + managerFilePatterns: [ |
| 35 | + '/imagevector/images.yaml$/', |
| 36 | + ], |
| 37 | + matchStrings: [ |
| 38 | + '# renovate(?:\w|\W|)*?repository: (?<depName>.*)(?:\w|\W)*?tag: "?(?<currentValue>(?:\w|\d|\.|-)*)"?', |
| 39 | + ], |
| 40 | + datasourceTemplate: 'docker', |
| 41 | + versioningTemplate: 'semver' |
| 42 | + } |
| 43 | + ], |
| 44 | + packageRules: [ |
| 45 | + { |
| 46 | + description: 'dependencies are updated alongside g/g', |
| 47 | + enabled: false, |
| 48 | + matchDatasources: ['go'], |
| 49 | + matchPackageNames: [ |
| 50 | + '/k8s.io/', |
| 51 | + '/sigs.k8s.io/controller-runtime/', |
| 52 | + '/github.com/gardener/etcd-druid/', |
| 53 | + '/github.com/gardener/machine-controller-manager/', |
| 54 | + ], |
| 55 | + }, |
| 56 | + { |
| 57 | + description: 'dependencies are pined to a dedicated version minor', |
| 58 | + enabled: false, |
| 59 | + matchUpdateTypes: [ |
| 60 | + 'minor', |
| 61 | + 'major', |
| 62 | + ], |
| 63 | + matchPackageNames: [ |
| 64 | + 'ghcr.io/stackitcloud/cloud-provider-stackit/stackit-csi-plugin', |
| 65 | + 'ghcr.io/stackitcloud/cloud-provider-stackit/cloud-controller-manager', |
| 66 | + 'registry.ske.stackit.cloud/stackitcloud/cinder-csi-plugin', |
| 67 | + 'registry.k8s.io/provider-os/openstack-cloud-controller-manager', |
| 68 | + ], |
| 69 | + }, |
| 70 | + { |
| 71 | + groupName: 'cloud-provider-stackit', |
| 72 | + matchUpdateTypes: [ |
| 73 | + 'patch', |
| 74 | + ], |
| 75 | + matchPackageNames: [ |
| 76 | + 'ghcr.io/stackitcloud/cloud-provider-stackit/stackit-csi-plugin', |
| 77 | + 'ghcr.io/stackitcloud/cloud-provider-stackit/cloud-controller-manager', |
| 78 | + ], |
| 79 | + }, |
| 80 | + { |
| 81 | + groupName: 'cloud-provider-openstack', |
| 82 | + matchUpdateTypes: [ |
| 83 | + 'patch', |
| 84 | + ], |
| 85 | + matchPackageNames: [ |
| 86 | + 'registry.ske.stackit.cloud/stackitcloud/cinder-csi-plugin', |
| 87 | + 'registry.k8s.io/provider-os/openstack-cloud-controller-manager' |
| 88 | + ], |
| 89 | + }, |
| 90 | + { |
| 91 | + groupName: 'Internal', |
| 92 | + matchFileNames: [ |
| 93 | + 'charts/internal/**/requirements.yaml', |
| 94 | + ], |
| 95 | + enabled: false, |
| 96 | + }, |
| 97 | + { |
| 98 | + groupName: 'Go testing', |
| 99 | + matchUpdateTypes: [ |
| 100 | + 'minor', |
| 101 | + 'patch', |
| 102 | + ], |
| 103 | + addLabels: [ |
| 104 | + 'skip-review', |
| 105 | + ], |
| 106 | + matchSourceUrls: [ |
| 107 | + 'https://github.com/onsi/gomega{/,}**', |
| 108 | + 'https://github.com/onsi/ginkgo{/,}**', |
| 109 | + ], |
| 110 | + }, |
| 111 | + ], |
| 112 | +} |
0 commit comments