-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch to common renovate config (#60)
- Loading branch information
Showing
1 changed file
with
5 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,111 +1,9 @@ | ||
{ | ||
"enabled": true, | ||
"forkProcessing": "enabled", | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base" | ||
], | ||
"timezone": "America/Chicago", | ||
"repositories": ["CAPABILITY_REPO"], | ||
"ignorePaths": ["IGNORE_PATHS"], | ||
"rebaseStalePrs": true, | ||
"dependencyDashboard": true, | ||
"platform": "github", | ||
"onboarding": false, | ||
"dependencyDashboardTitle": "Renovate Dashboard 🤖", | ||
"commitBodyTable": true, | ||
"rebaseWhen": "conflicted", | ||
"suppressNotifications": ["prIgnoreNotification"], | ||
"assigneesFromCodeOwners": true, | ||
"reviewersFromCodeOwners": true, | ||
"helm-values": { | ||
"fileMatch": ["./.+\\.yaml$"] | ||
}, | ||
"kubernetes": { | ||
"fileMatch": ["\\.yaml$"], | ||
"ignorePaths": [ | ||
"ansible", | ||
"scripts", | ||
".github" | ||
] | ||
}, | ||
"regexManagers": [ | ||
{ | ||
"description": "Match on images in zarf yaml (e.g. - registry/repo/image:tag)", | ||
"fileMatch": [ | ||
"^zarf\\.yaml$" | ||
], | ||
"matchStrings": ["- (?<depName>.*):(?<currentValue>v\\d+\\.\\d+\\.\\d+)"], | ||
"datasourceTemplate": "docker", | ||
"versioningTemplate": "semver" | ||
}, | ||
{ | ||
"description": "Match on comments for helm charts in yaml files.", | ||
"fileMatch": [".*\\.ya?ml$"], | ||
"matchStrings": [ | ||
"registryUrl=(?<registryUrl>.*?)\n *chart: (?<depName>.*?)\n *version: (?<currentValue>.*)\n", | ||
"# renovate: datasource=helm\n .*- name: (?<depName>.*?)\n *url: (?<registryUrl>.*?)\n *version: (?<currentValue>.*)\n" | ||
], | ||
"datasourceTemplate": "helm" | ||
}, | ||
{ | ||
"description": "Match on comments for zarf github actions in yaml files.", | ||
"fileMatch": ["./.+\\.ya?ml$"], | ||
"matchStrings": [ | ||
"# renovate: datasource=github-tags depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?version:\\s*(?<currentValue>.*)\\s", | ||
"# renovate: datasource=github-tags depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?version:\\s*['\"](?<currentValue>.*)['\"]\\s" | ||
], | ||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", | ||
"datasourceTemplate": "github-tags" | ||
} | ||
], | ||
"packageRules": [ | ||
{ | ||
"datasources": ["helm"], | ||
"commitMessageTopic": "Helm chart {{depName}}", | ||
"separateMinorPatch": true | ||
}, | ||
{ | ||
"datasources": ["docker"], | ||
"commitMessageTopic": "Docker image {{depName}}", | ||
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{toVersion}}}{{else}}{{{newValue}}}{{/if}}", | ||
"enabled": true, | ||
"separateMinorPatch": true | ||
}, | ||
{ | ||
"datasources": ["docker"], | ||
"updateTypes": ["major"], | ||
"labels": ["renovate/image-release", "dependency/major"] | ||
}, | ||
{ | ||
"datasources": ["docker"], | ||
"updateTypes": ["minor"], | ||
"labels": ["renovate/image-release", "dependency/minor"] | ||
}, | ||
{ | ||
"datasources": ["docker"], | ||
"updateTypes": ["patch"], | ||
"labels": ["renovate/image-release", "dependency/patch"] | ||
}, | ||
{ | ||
"datasources": ["helm"], | ||
"updateTypes": ["major"], | ||
"labels": ["renovate/helm-release", "dependency/major"] | ||
}, | ||
{ | ||
"datasources": ["helm"], | ||
"updateTypes": ["minor"], | ||
"labels": ["renovate/helm-release", "dependency/minor"] | ||
}, | ||
{ | ||
"datasources": ["helm"], | ||
"updateTypes": ["patch"], | ||
"labels": ["renovate/helm-release", "dependency/patch"] | ||
}, | ||
{ | ||
"description": "Group Github Actions updates.", | ||
"matchPaths": [".github/**"], | ||
"groupName": "GHA-DEPS" | ||
} | ||
"github>defenseunicorns/uds-common//config/renovate.json5", | ||
":semanticCommits", | ||
":semanticPrefixFixDepsChoreOthers", | ||
"replacements:all", | ||
"workarounds:all" | ||
] | ||
} |