Skip to content

Commit

Permalink
Use central renovate config
Browse files Browse the repository at this point in the history
As done for other operators, this change switches renovate to a
central config.

Signed-off-by: Francesco Pantano <[email protected]>
  • Loading branch information
fmount committed Jul 21, 2023
1 parent 170560a commit 649724c
Showing 1 changed file with 2 additions and 40 deletions.
42 changes: 2 additions & 40 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,13 @@
{
"timezone": "America/New_York",
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"github>openstack-k8s-operators/renovate-config"
],
"dependencyDashboard": true,
"logFileLevel": "trace",
"enabledManagers": ["gomod"],
"postUpdateOptions": ["gomodTidy"],
"constraints": {
"go": "1.19"
},
"schedule":[
"every weekend"
],
"packageRules": [
{
"matchPackageNames": ["go"],
"enabled": false
},
{
"groupName": "openstack-k8s-operators",
"matchPackagePatterns": ["^github.com/openstack-k8s-operators"],
"enabled": true
},
{
"groupName": "k8s.io",
"matchPackagePatterns": ["^k8s.io"],
"excludePackagePatterns": ["^k8s.io/kube-openapi"],
"allowedVersions": "< 0.27.0",
"enabled": true
},
{
"groupName": "sigs.k8s.io/controller-runtime",
"matchPackagePatterns": ["^sigs.k8s.io/controller-runtime"],
"allowedVersions": "< 0.15.0",
"enabled": true
},
{
"groupName": "misc",
"matchPackagePatterns": ["^github.com/operator-framework/api", "^github.com/ghodss", "^github.com/go-logr/logr", "^github.com/imdario/mergo", "^go.uber.org/zap"],
"enabled": true
}
],
"postUpgradeTasks": {
"commands": ["make gowork", "make tidy", "make manifests generate"],
"fileFilters": ["go.mod", "go.sum", "**/*.go", "**/*.yaml"],
"fileFilters": ["**/go.mod", "**/go.sum", "**/*.go", "**/*.yaml"],
"executionMode": "update"
}
}

0 comments on commit 649724c

Please sign in to comment.