Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ For any specific platform:
`task build:dist:darwin:arm64`
`task build:dist:windows:amd64`

### Dependency updates

Dependencies are updated automatically via [Renovate](https://docs.renovatebot.com/).
See the auto-created `Dependency Dashboard` issue to track or trigger updates manually.

---

## 🔗 Links
Expand Down
112 changes: 112 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard",
":semanticCommits",
":timezone(Europe/Moscow)",
":enableVulnerabilityAlertsWithLabel(security)"
],
"schedule": ["before 6am on monday"],
"prConcurrentLimit": 10,
"prHourlyLimit": 2,
"labels": ["dependencies", "renovate"],
"rangeStrategy": "replace",
"rebaseWhen": "conflicted",
"ignorePaths": ["**/bin/**", "**/dist/**", "**/build/**", "**/.tmp/**", "**/testing/**"],
"ignoreDeps": [
"werf/trdl-vault-actions",
"github.com/werf/3p-helm",
"go.cypherpunks.ru/gogost/v5"
],
"postUpdateOptions": [],
"gomod": {
"enabled": true
},
"vulnerabilityAlerts": {
"labels": ["security"],
"schedule": ["at any time"]
},
"packageRules": [
{
"description": "Group k8s.io/*",
"matchManagers": ["gomod"],
"matchPackagePatterns": ["^k8s\\.io/", "^sigs\\.k8s\\.io/"],
"groupName": "kubernetes"
},
{
"description": "Group werf/*",
"matchManagers": ["gomod"],
"matchPackagePatterns": ["^github\\.com/werf/"],
"groupName": "werf"
},
{
"description": "Group deckhouse/*",
"matchManagers": ["gomod"],
"matchPackagePatterns": ["^github\\.com/deckhouse/"],
"groupName": "deckhouse"
},
{
"description": "Group hashicorp/* (including vault — major upgrades require manual review)",
"matchManagers": ["gomod"],
"matchPackagePatterns": ["^github\\.com/hashicorp/"],
"groupName": "hashicorp"
},
{
"description": "All github-actions in a single PR",
"matchManagers": ["github-actions"],
"groupName": "github-actions"
},
{
"description": "Major updates get separate PRs and require manual review",
"matchUpdateTypes": ["major"],
"labels": ["dependencies", "renovate", "major-update"],
"addLabels": ["needs-review"]
},
{
"description": "Go toolchain updates grouped into a single PR",
"matchDepNames": ["go", "golang"],
"groupName": "go-toolchain"
},
{
"description": "Disable updates for private flant.internal packages (replace targets for hashicorp/vault, not accessible to Renovate)",
"matchManagers": ["gomod"],
"matchPackagePatterns": ["^flant\\.internal/"],
"enabled": false
}
],
"customManagers": [
{
"customType": "regex",
"description": "kubectlVersion in Taskfile.yml — track kubernetes/kubernetes releases",
"fileMatch": ["^Taskfile\\.ya?ml$"],
"matchStrings": [
"kubectlVersion:\\s*(?<currentValue>v\\d+\\.\\d+\\.\\d+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "kubernetes/kubernetes",
"extractVersionTemplate": "^(?<version>v\\d+\\.\\d+\\.\\d+)$"
},
{
"customType": "regex",
"description": "GOLANGCI_LINT_VERSION in release workflow",
"fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"],
"matchStrings": [
"GOLANGCI_LINT_VERSION:\\s*['\"]?(?<currentValue>v\\d+\\.\\d+\\.\\d+)['\"]?"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "golangci/golangci-lint",
"extractVersionTemplate": "^(?<version>v\\d+\\.\\d+\\.\\d+)$"
},
{
"customType": "regex",
"description": "go-version in setup-go steps, synced with golang-version datasource",
"fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"],
"matchStrings": [
"go-version:\\s*['\"](?<currentValue>\\d+\\.\\d+(?:\\.\\d+)?)['\"]"
],
"datasourceTemplate": "golang-version",
"depNameTemplate": "go"
}
]
}
Loading