Skip to content

Commit

Permalink
Add renovate configuration
Browse files Browse the repository at this point in the history
This is to automatically bump versions through pull requests.
  • Loading branch information
lentzi90 committed Jun 22, 2022
1 parent c5ac70e commit 0451981
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions renovate.json
@@ -0,0 +1,47 @@
{
"extends":[
"config:base"
],
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/examples/**"
],
"enabled": "true",
"baseBranches": ["main"],
"packageRules": [
{
"matchPackageNames": ["golang"],
"allowedVersions": "<=1.17"
},
{
"matchPackageNames": ["kubernetes/kubernetes"],
"allowedVersions": "<=1.23"
}
],
"prHourlyLimit": 5,
"prConcurrentLimit": 5,
"rangeStrategy": "bump",
"renovateFork": true,
"stabilityDays": 5,
"regexManagers": [
{
"fileMatch": ["^Makefile$"],
"matchStrings": [
"KUBEBUILDER_ENVTEST_KUBERNETES_VERSION .= (?<currentValue>.*?)\\n"
],
"depNameTemplate": "kubernetes/kubernetes",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.*?)$"
},
{
"fileMatch": ["^test/e2e/data/e2e_conf.yaml$"],
"matchStrings": [
"KUBERNETES_VERSION: \"(?<currentValue>.*?)\"\\n"
],
"depNameTemplate": "kubernetes/kubernetes",
"datasourceTemplate": "github-releases"
}
]
}

0 comments on commit 0451981

Please sign in to comment.