mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Cursor <[email protected]>
144 lines
3.4 KiB
JSON
144 lines
3.4 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"description": "Rules specific to the devtool (CI, dev environment...)",
|
|
"packageRules": [
|
|
{
|
|
"description": "Enable updates from specified datasources",
|
|
"matchDatasources": [
|
|
"node-version",
|
|
"golang-version"
|
|
],
|
|
"enabled": true
|
|
},
|
|
{
|
|
"description": "Enable updates from specified go modules",
|
|
"matchDatasources": [
|
|
"go"
|
|
],
|
|
"matchPackageNames": [
|
|
"github.com/golangci/golangci-lint/v2",
|
|
"github.com/vektra/mockery/v3"
|
|
],
|
|
"enabled": true
|
|
},
|
|
{
|
|
"description": "Run make mockgen after updating mockery",
|
|
"matchDatasources": [
|
|
"go"
|
|
],
|
|
"matchPackageNames": [
|
|
"github.com/vektra/mockery/v3"
|
|
],
|
|
"postUpgradeTasks": {
|
|
"commands": ["make mockgen"],
|
|
"fileFilters": ["**/*.go"],
|
|
"executionMode": "branch"
|
|
}
|
|
},
|
|
{
|
|
"description": "Enable updates from specified github releases",
|
|
"matchDatasources": [
|
|
"github-releases"
|
|
],
|
|
"matchPackageNames": [
|
|
"gotestyourself/gotestsum"
|
|
],
|
|
"enabled": true
|
|
},
|
|
{
|
|
"description": "Enable updates from specified docker images",
|
|
"matchDatasources": [
|
|
"docker"
|
|
],
|
|
"matchPackageNames": [
|
|
"docker.io/library/node",
|
|
"docker.io/library/golang",
|
|
"docker.io/library/redis",
|
|
"docker.io/library/registry",
|
|
"docker.io/library/ubuntu",
|
|
"docker.io/bitnamilegacy/kubectl",
|
|
"docker.io/library/busybox"
|
|
],
|
|
"enabled": true
|
|
},
|
|
{
|
|
"description": "Disable digest-only docker updates; refresh digests when the image tag changes",
|
|
"matchDatasources": [
|
|
"docker"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"digest"
|
|
],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Allow digest updates for tagless busybox pin",
|
|
"matchDatasources": [
|
|
"docker"
|
|
],
|
|
"matchPackageNames": [
|
|
"docker.io/library/busybox"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"digest"
|
|
],
|
|
"enabled": true
|
|
},
|
|
{
|
|
"description": "Group golang-version packages",
|
|
"groupName": "group golang",
|
|
"matchDatasources": [
|
|
"docker",
|
|
"golang-version"
|
|
],
|
|
"matchPackageNames": [
|
|
"/(?:^|/)golang$/"
|
|
]
|
|
},
|
|
{
|
|
"description": "Group node-version packages across production, CI, and test-tools image",
|
|
"groupName": "group node",
|
|
"matchDatasources": [
|
|
"docker",
|
|
"node-version"
|
|
],
|
|
"matchFileNames": [
|
|
"Dockerfile",
|
|
"Dockerfile.ui.tilt",
|
|
"Dockerfile.tilt",
|
|
"test/container/Dockerfile",
|
|
".github/workflows/**",
|
|
"ui/.nvmrc"
|
|
],
|
|
"matchPackageNames": [
|
|
"/(?:^|/)node$/",
|
|
"!calico/node",
|
|
"!docker.io/calico/node",
|
|
"!kindest/node"
|
|
]
|
|
},
|
|
{
|
|
"description": "Group ubuntu docker images",
|
|
"groupName": "group ubuntu",
|
|
"matchDatasources": [
|
|
"docker"
|
|
],
|
|
"matchPackageNames": [
|
|
"docker.io/library/ubuntu"
|
|
]
|
|
},
|
|
{
|
|
"description": "Example to reduce noise with the automerge features.",
|
|
"matchDatasources": [
|
|
"golang-version"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"patch",
|
|
"pin",
|
|
"digest"
|
|
],
|
|
"automerge": false
|
|
}
|
|
]
|
|
}
|