simnplify

This commit is contained in:
Kjeld Schouten
2024-10-13 11:52:00 +02:00
parent 7d9ea3d1b2
commit 7084c8daaf
13 changed files with 28 additions and 123 deletions
-7
View File
@@ -1,7 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/helm.json5",
"github>truecharts/public//.github/renovate/kinds/helm-values.json5"
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/flux.json5",
"github>truecharts/public//.github/renovate/kinds/helm-values.json5",
"github>truecharts/public//.github/renovate/kinds/docker.json5",
"github>truecharts/public//.github/renovate/special/talconfig.json5",
"github>truecharts/public//.github/renovate/special/customClusterManagers.json5"
]
}
@@ -1,10 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/go.json5",
"github>truecharts/public//.github/renovate/kinds/flux.json5",
"github>truecharts/public//.github/renovate/kinds/docker.json5",
"github>truecharts/public//.github/renovate/special/talconfig.json5"
]
}
@@ -1,7 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/docker.json5"
]
}
-8
View File
@@ -1,8 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/githubactions.json5",
"github>truecharts/public//.github/renovate/kinds/docker.json5"
]
}
@@ -1,7 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/flux.json5"
]
}
-7
View File
@@ -1,7 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/astro.json5"
]
}
+8 -9
View File
@@ -1,21 +1,20 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
// Astro project Renovate configuration for managing dependencies "website": {
"astro": {
"fileMatch": [ "fileMatch": [
"astro\\.config\\.(mjs|js|ts)$", // Matches Astro configuration files "(^|/)website/.+/astro\\.config\\.(mjs|js|ts)$", // Matches Astro config files in /website and any subdirectory
"package\\.json$" // Matches package.json files for dependency management "(^|/)website/.+/package\\.json$" // Matches package.json files in /website and any subdirectory
], ],
"enabled": true, // Enable updates for Astro dependencies "enabled": true, // Enable updates for website dependencies
"commitMessageSuffix": "fix: update Astro dependencies", // Customize commit message suffix "commitMessageSuffix": "fix: update website dependencies", // Customize commit message suffix
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types "updateTypes": ["major", "minor", "patch"], // Allow updates for all version types
"ignore": [ "ignore": [
// Specify any dependencies or versions to ignore // Specify any dependencies or versions to ignore
], ],
"semanticCommitScope": "astro", "semanticCommitScope": "website"
}, },
"ignoreDeps": [ "ignoreDeps": [
// List any dependencies to ignore globally if needed // List any dependencies to ignore globally if needed
], ],
"requiredStatusChecks": null, "requiredStatusChecks": null
} }
+3 -1
View File
@@ -7,7 +7,9 @@
"docker-compose\\.ya?ml$", // Matches docker-compose files "docker-compose\\.ya?ml$", // Matches docker-compose files
"docker-compose\\.ya?ml\\.j2$", // Matches Jinja2 templated docker-compose files "docker-compose\\.ya?ml\\.j2$", // Matches Jinja2 templated docker-compose files
"\\.github/workflows/.*\\.ya?ml$", // Matches all workflow YAML files "\\.github/workflows/.*\\.ya?ml$", // Matches all workflow YAML files
"\\.github/workflows/.*\\.ya?ml\\.j2$" // Matches Jinja2 templated workflow files "\\.github/workflows/.*\\.ya?ml\\.j2$", // Matches Jinja2 templated workflow files
"(^|/)clusters/.+\\.ya?ml(?:\\.j2)?$",
"(^|/)repositories/.+\\.ya?ml(?:\\.j2)?$"
], ],
"enabled": true, // Enable Docker image updates "enabled": true, // Enable Docker image updates
"commitMessageSuffix": "fix: update Docker image", // Customize commit message suffix "commitMessageSuffix": "fix: update Docker image", // Customize commit message suffix
+2 -1
View File
@@ -3,7 +3,8 @@
"flux": { "flux": {
"fileMatch": [ "fileMatch": [
".ya?ml(?:\\.j2)?$" // Matches all .yaml and .yml files, optionally with a .j2 extension "(^|/)clusters/.+\\.ya?ml(?:\\.j2)?$",
"(^|/)repositories/.+\\.ya?ml(?:\\.j2)?$"
], ],
"enabled": true, // Enable Flux updates "enabled": true, // Enable Flux updates
"updateTypes": ["major", "minor", "patch"], // Allow updates for all version types "updateTypes": ["major", "minor", "patch"], // Allow updates for all version types
+3 -1
View File
@@ -3,7 +3,9 @@
"helm-values": { "helm-values": {
"fileMatch": [ "fileMatch": [
".ya?ml(?:\\.j2)?$" // Matches all .yaml and .yml files, optionally with a .j2 extension "(^|/)clusters/.+\\.ya?ml(?:\\.j2)?$",
"(^|/)repositories/.+\\.ya?ml(?:\\.j2)?$",
"(^|/)charts/.+\\.ya?ml(?:\\.j2)?$",
], ],
"enabled": true, // Enable image reference updates in values.yaml "enabled": true, // Enable image reference updates in values.yaml
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types "updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types
+2 -2
View File
@@ -3,7 +3,7 @@
"helm": { "helm": {
"fileMatch": [ "fileMatch": [
"Chart\\.ya?ml(?:\\.j2)?$" // Matches Chart.yaml or Chart.yml files, optionally with a .j2 extension ".+/Chart\\.ya?ml(?:\\.j2)?$" // Matches Chart.yaml or Chart.yml files, optionally with a .j2 extension
], ],
"enabled": true, // Enable Helm chart updates "enabled": true, // Enable Helm chart updates
"semanticCommitScope": "helm", "semanticCommitScope": "helm",
@@ -13,5 +13,5 @@
"ignore": [ "ignore": [
// Add any global ignores here if needed // Add any global ignores here if needed
], ],
"requiredStatusChecks": null, "requiredStatusChecks": null
} }
+7 -49
View File
@@ -22,6 +22,13 @@
"github>truecharts/public//.github/renovate/updates/calver.json5", "github>truecharts/public//.github/renovate/updates/calver.json5",
"github>truecharts/public//.github/renovate/basics/commitMessage.json5", "github>truecharts/public//.github/renovate/basics/commitMessage.json5",
"github>truecharts/public//.github/renovate/basics/labels.json5", "github>truecharts/public//.github/renovate/basics/labels.json5",
"github>truecharts/public//.github/renovate/kinds/astro.json5",
"github>truecharts/public//.github/renovate/kinds/docker.json5",
"github>truecharts/public//.github/renovate/kinds/flux.json5",
"github>truecharts/public//.github/renovate/kinds/githubactions.json5",
"github>truecharts/public//.github/renovate/kinds/go.json5",
"github>truecharts/public//.github/renovate/kinds/helm-values.json5",
"github>truecharts/public//.github/renovate/kinds/helm.json5",
"github>truecharts/public//.github/renovate/special/groups.json5", "github>truecharts/public//.github/renovate/special/groups.json5",
"github>truecharts/public//.github/renovate/special/automerge.json5", "github>truecharts/public//.github/renovate/special/automerge.json5",
"github>truecharts/public//.github/renovate/special/customRules.json5", "github>truecharts/public//.github/renovate/special/customRules.json5",
@@ -30,55 +37,6 @@
], ],
// Main Renovate configuration that lists package rules for various paths // Main Renovate configuration that lists package rules for various paths
"packageRules": [ "packageRules": [
{
"paths": [".github/**"], // Adjusted path
"enabled": true,
"extends": [
"github>truecharts/public//.github/renovate/folders/github.json5"
]
},
{
"paths": ["charts/**"], // Adjusted path
"enabled": true,
"extends": [
"github>truecharts/public//.github/renovate/folders/charts.json5"
]
},
{
"paths": ["containers/**"], // Adjusted path
"enabled": true,
"extends": [
"github>truecharts/public//.github/renovate/folders/containers.json5"
]
},
{
"paths": ["clusters/**"], // Adjusted path
"enabled": true,
"extends": [
"github>truecharts/public//.github/renovate/folders/clusters.json5"
]
},
{
"paths": ["repositories/**"], // Adjusted path
"enabled": true,
"extends": [
"github>truecharts/public//.github/renovate/folders/repositories.json5"
]
},
{
"paths": ["clustertool/**"], // Adjusted path
"enabled": true,
"extends": [
"github>truecharts/public//.github/renovate/folders/clustertool.json5"
]
},
{
"paths": ["website/**"], // Adjusted path
"enabled": true,
"extends": [
"github>truecharts/public//.github/renovate/folders/website.json5"
]
}
], ],
"ignoreDeps": [ "ignoreDeps": [
// List any dependencies to ignore globally if needed // List any dependencies to ignore globally if needed