Skip to content

Commit

Permalink
chore: switch to common renovate config (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjnagel committed Mar 26, 2024
1 parent e7a639d commit 61e015b
Showing 1 changed file with 5 additions and 107 deletions.
112 changes: 5 additions & 107 deletions renovate.json
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"
]
}

0 comments on commit 61e015b

Please sign in to comment.