mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 13:23:09 +01:00
We should ignore the go.mod files in renovate that are inside the dagger directory, these go.mod files should be updated using the proper `dagger update` command Closes #305 Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
121 lines
3.6 KiB
Plaintext
121 lines
3.6 KiB
Plaintext
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
":gitSignOff",
|
|
":semanticCommitType(chore)",
|
|
":labels(automated,no-issue)",
|
|
"customManagers:githubActionsVersions",
|
|
":automergeMinor",
|
|
":automergeDigest"
|
|
],
|
|
rebaseWhen: 'never',
|
|
prConcurrentLimit: 5,
|
|
lockFileMaintenance: {
|
|
"enabled": true,
|
|
},
|
|
"gomod": {
|
|
// Do not manage the dagger go.mod file
|
|
"ignorePaths": [
|
|
"dagger/**/go.mod",
|
|
]
|
|
},
|
|
"postUpdateOptions": [
|
|
"gomodTidy"
|
|
],
|
|
"semanticCommits": "enabled",
|
|
"commitBodyTable": true,
|
|
// Allow renovate to update the following types of dependencies in the Taskfile.yml:
|
|
// - digests for env variables ending in _SHA
|
|
// - versions for env variables ending in _VERSION
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"(^Taskfile\\.yml$)"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: currentValue=(?<currentValue>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_SHA\\s*:\\s*[\"']?(?<currentDigest>[a-f0-9]+?)[\"']?\\s",
|
|
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
|
|
]
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"(^docs/config\\.yaml$)"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+kubernetesVersion:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
|
|
],
|
|
// This is needed to limit renovate to update major.minor versions only. Having the patch breaks crd-ref-docs.
|
|
"versioningTemplate": "regex:(?<major>\\d+)\\.(?<minor>\\d+)",
|
|
"extractVersionTemplate": "^(?<version>v\\d+\\.\\d+)\\.\\d+$"
|
|
},
|
|
],
|
|
"pip-compile": {
|
|
"fileMatch": ["(^|/)sidecar-requirements\\.txt$"]
|
|
},
|
|
"pip_requirements": {
|
|
"enabled": false
|
|
},
|
|
"pip_setup": {
|
|
"enabled": false
|
|
},
|
|
"packageRules": [
|
|
{
|
|
"matchDatasources": [
|
|
"go"
|
|
],
|
|
"matchPackageNames": [
|
|
// Avoid k8s dependencies from being grouped with other dependencies. We want to be careful
|
|
// with how we update them.
|
|
"!/k8s.io/"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
"patch",
|
|
"digest"
|
|
],
|
|
"groupName": "all non-major go dependencies"
|
|
},
|
|
{
|
|
"matchDatasources": [
|
|
"git-refs"
|
|
],
|
|
"matchPackageNames": [
|
|
"https://github.com/cloudnative-pg/daggerverse"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"digest"
|
|
],
|
|
"groupName": "all cloudnative-pg daggerverse dependencies"
|
|
},
|
|
{
|
|
"matchDatasources": [
|
|
"git-refs"
|
|
],
|
|
"matchPackageNames": [
|
|
"https://github.com/sagikazarmark/daggerverse"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"digest"
|
|
],
|
|
"groupName": "all sagikazarmark daggerverse dependencies"
|
|
},
|
|
{
|
|
matchFileNames: [
|
|
"web/package.json",
|
|
"web/yarn.lock"
|
|
],
|
|
groupName: "documentation dependencies"
|
|
},
|
|
{
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
"patch"
|
|
],
|
|
"matchCurrentVersion": "!/^0/"
|
|
}
|
|
]
|
|
}
|