-
Notifications
You must be signed in to change notification settings - Fork 6
/
renovate.json5
31 lines (31 loc) · 1.05 KB
/
renovate.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:base",
":gitSignOff",
":disableDependencyDashboard"
],
ignorePaths: ["k8s-pb*/**"],
postUpgradeTasks: {
commands: ["just generate"]
},
prBodyNotes: [
"{{#if isMinor}}:warning: Kubernetes Minor :warning:{{/if}}",
"This PR bumps the Kubernetes version in the justfile and runs just renovate.",
"{{#if isMinor}}Please check for inconsistencies in the new version{{/if}}",
],
customManagers: [
{
customType: "regex",
fileMatch: ["^justfile$"],
matchStrings: [
// example:
// renovate: datasource=github-releases depName=clux/whyq versioning=semver
//KUBERNETES_VERSION := "x.x.x"
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION \\:= \"(?<currentValue>.*)\"",
],
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
extractVersionTemplate: '^?(?<version>\\d+\\.\\d+\\.\\d+)',
},
],
}