simnplify

This commit is contained in:
Kjeld Schouten
2024-10-13 11:51:55 +02:00
parent 7d9ea3d1b2
commit 7084c8daaf
13 changed files with 28 additions and 123 deletions

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"
]
}

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"
]
}

View File

@@ -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"
]
}

View File

@@ -1,7 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/docker.json5"
]
}

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"
]
}

View File

@@ -1,7 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/flux.json5"
]
}

View File

@@ -1,7 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>truecharts/public//.github/renovate/kinds/astro.json5"
]
}

View File

@@ -1,21 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
// Astro project Renovate configuration for managing dependencies
"astro": {
"website": {
"fileMatch": [
"astro\\.config\\.(mjs|js|ts)$", // Matches Astro configuration files
"package\\.json$" // Matches package.json files for dependency management
"(^|/)website/.+/astro\\.config\\.(mjs|js|ts)$", // Matches Astro config files in /website and any subdirectory
"(^|/)website/.+/package\\.json$" // Matches package.json files in /website and any subdirectory
],
"enabled": true, // Enable updates for Astro dependencies
"commitMessageSuffix": "fix: update Astro dependencies", // Customize commit message suffix
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types
"enabled": true, // Enable updates for website dependencies
"commitMessageSuffix": "fix: update website dependencies", // Customize commit message suffix
"updateTypes": ["major", "minor", "patch"], // Allow updates for all version types
"ignore": [
// Specify any dependencies or versions to ignore
],
"semanticCommitScope": "astro",
"semanticCommitScope": "website"
},
"ignoreDeps": [
// List any dependencies to ignore globally if needed
],
"requiredStatusChecks": null,
}
"requiredStatusChecks": null
}

View File

@@ -7,7 +7,9 @@
"docker-compose\\.ya?ml$", // Matches 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\\.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
"commitMessageSuffix": "fix: update Docker image", // Customize commit message suffix

View File

@@ -3,7 +3,8 @@
"flux": {
"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
"updateTypes": ["major", "minor", "patch"], // Allow updates for all version types

View File

@@ -3,7 +3,9 @@
"helm-values": {
"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
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types

View File

@@ -1,9 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"helm": {
"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
"semanticCommitScope": "helm",
@@ -13,5 +13,5 @@
"ignore": [
// Add any global ignores here if needed
],
"requiredStatusChecks": null,
}
"requiredStatusChecks": null
}

View File

@@ -22,6 +22,13 @@
"github>truecharts/public//.github/renovate/updates/calver.json5",
"github>truecharts/public//.github/renovate/basics/commitMessage.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/automerge.json5",
"github>truecharts/public//.github/renovate/special/customRules.json5",
@@ -30,55 +37,6 @@
],
// Main Renovate configuration that lists package rules for various paths
"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": [
// List any dependencies to ignore globally if needed