-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
base system working.
- Loading branch information
Showing
156 changed files
with
6,554 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners | ||
* @cbc02009 |
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 |
---|---|---|
@@ -0,0 +1,159 @@ | ||
{ | ||
// General RenovateBot configuration | ||
extends: [ | ||
":enableRenovate", | ||
"config:base", | ||
":disableRateLimiting", | ||
":dependencyDashboard", | ||
":semanticCommits", | ||
":separatePatchReleases", | ||
"docker:enableMajor", | ||
":enablePreCommit", | ||
"github>cbc02009/k8s-home-ops//.github/renovate/commitMessage", | ||
"github>cbc02009/k8s-home-ops//.github/renovate/labels", | ||
"github>cbc02009/k8s-home-ops//.github/renovate/semanticCommits", | ||
// "github>cbc02009/k8s-home-ops//.github/renovate/allowedVersions", | ||
// "github>cbc02009/k8s-home-ops//.github/renovate/autoMerge", | ||
// "github>cbc02009/k8s-home-ops//.github/renovate/updateSchedule", | ||
], | ||
repositories: ["cbc02009/k8s-home-ops"], | ||
onboarding: false, | ||
requireConfig: false, | ||
timezone: "America/New_York", | ||
dependencyDashboardTitle: "Renovate Dashboard 🤖", | ||
suppressNotifications: ["prIgnoreNotification"], | ||
rebaseWhen: "conflicted", | ||
// Set up Renovate Managers | ||
"helm-values": { | ||
fileMatch: [ | ||
"cluster/manifests/.+/helmrelease\\.ya?ml$", | ||
], | ||
}, | ||
kubernetes: { | ||
fileMatch: ["cluster/manifests/.+\\.ya?ml$"], | ||
}, | ||
flux: { | ||
fileMatch: [ | ||
"cluster/manifests/.+\\.ya?ml$", | ||
], | ||
}, | ||
regexManagers: [ | ||
// regexManager to read and process GitHub release artifacts | ||
{ | ||
fileMatch: ["k8s/clusters/.+\\.ya?ml$", "k8s/global/.+\\.ya?ml$"], | ||
matchStrings: [ | ||
"datasource=(?<datasource>.*?)\n *url: https://github\\.com/(?<depName>.*?)\\.git\n *ref:\n *tag: (?<currentValue>.*)\n", | ||
'datasource=(?<datasource>.*?) depName=(?<depName>.*?)\n.*?_version: "(?<currentValue>.*)"\n', | ||
'datasource=(?<datasource>.*?) depName=(?<depName>.*?)\n.*?_VERSION="(?<currentValue>.*)"\n', | ||
], | ||
datasourceTemplate: "github-releases", | ||
depNameTemplate: "{{org}}/{{repo}}", | ||
}, | ||
// Generic Regex Manager | ||
{ | ||
fileMatch: ["cluster/.+\\.ya?ml$", "k8s/global/.+\\.ya?ml$"], | ||
matchStrings: [ | ||
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( registryUrl=(?<registryUrl>.*?))?( versioning=(?<versioning>.*=?))?\n .*: (?<currentValue>.*=?)", | ||
], | ||
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", | ||
registryUrlTemplate: "{{#if registryUrl}}{{{registryUrl}}}{{else}}{{/if}}", | ||
}, | ||
// Generic Docker image Regex manager | ||
{ | ||
fileMatch: [ | ||
"cluster/.+\\.ya?ml$", | ||
], | ||
matchStrings: [ | ||
"# renovate: docker-image( registryUrl=(?<registryUrl>.*?))?( versioning=(?<versioning>.*=?))?\n .*: (?<depName>.*?):(?<currentValue>.*=?)", | ||
], | ||
datasourceTemplate: "docker", | ||
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}docker{{/if}}", | ||
registryUrlTemplate: "{{#if registryUrl}}{{{registryUrl}}}{{else}}{{/if}}", | ||
}, | ||
], | ||
packageRules: [ | ||
// Setup datasources | ||
{ | ||
matchDatasources: ["helm"], | ||
ignoreDeprecated: true, | ||
}, | ||
// { | ||
// matchDatasources: ["docker"], | ||
// commitMessageExtra: "to {{newVersion}}", | ||
// }, | ||
// Custom version schemes | ||
{ | ||
matchDatasources: ["docker"], | ||
matchPackageNames: ["blakeblackshear/frigate"], | ||
versioning: "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>.*)$", | ||
}, | ||
{ | ||
matchDatasources: ["docker"], | ||
matchPackageNames: ["xirixiz/dsmr-reader-docker"], | ||
versioning: "regex:^(?<compatibility>.*)-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$", | ||
}, | ||
{ | ||
matchDatasources: ["docker"], | ||
matchPackageNames: ["quay.io/minio/minio"], | ||
versioning: "regex:^RELEASE\\.(?<major>\\d{4})-(?<minor>\\d{2})-(?<patch>\\d{2})", | ||
}, | ||
{ | ||
matchDatasources: ["docker"], | ||
matchPackageNames: ["ghcr.io/airsonic-advanced/airsonic-advanced"], | ||
versioning: "regex:^edge-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-SNAPSHOT\\.(?<build>\\d+)$", | ||
}, | ||
// Version strategies | ||
{ | ||
matchDatasources: ["docker"], | ||
matchPackageNames: [ | ||
"ghcr.io/k8s-at-home/plex", | ||
"ghcr.io/k8s-at-home/qbittorrent", | ||
], | ||
versioning: "loose", | ||
}, | ||
{ | ||
matchDatasources: ["docker"], | ||
matchPackageNames: ["tomsquest/docker-radicale"], | ||
versioning: "pep440", | ||
}, | ||
// Group packages | ||
{ | ||
matchDatasources: ["helm", "docker"], | ||
matchPackagePatterns: ["^rook.ceph"], | ||
groupName: "rook-ceph-suite", | ||
additionalBranchPrefix: "", | ||
separateMinorPatch: true, | ||
}, | ||
{ | ||
matchDatasources: ["docker"], | ||
matchPackageNames: [ | ||
"k8s.gcr.io/kube-apiserver", | ||
"k8s.gcr.io/kube-controller-manager", | ||
"k8s.gcr.io/kube-scheduler", | ||
"ghcr.io/siderolabs/kubelet", | ||
], | ||
groupName: "kubernetes", | ||
additionalBranchPrefix: "", | ||
separateMinorPatch: true, | ||
}, | ||
{ | ||
matchDatasources: ["helm", "docker"], | ||
matchPackageNames: [ | ||
"quay.io/cilium/cilium", | ||
"quay.io/cilium/operator-generic", | ||
"cilium", | ||
], | ||
groupName: "cilium", | ||
additionalBranchPrefix: "", | ||
separateMinorPatch: true, | ||
}, | ||
{ | ||
matchDatasources: ["docker"], | ||
matchPackageNames: [ | ||
"ghcr.io/linuxserver/calibre", | ||
"ghcr.io/linuxserver/calibre-web", | ||
], | ||
versioning: "regex:^version-v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$", | ||
}, | ||
], | ||
} |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// { | ||
// "packageRules": [ | ||
// { | ||
// "matchDatasources": ["docker"], | ||
// "matchPackageNames": ["ghcr.io/linuxserver/calibre-web"], | ||
// "allowedVersions": "<1" | ||
// }, | ||
// { | ||
// "matchDatasources": ["docker"], | ||
// "matchPackageNames": ["influxdb"], | ||
// "allowedVersions": "<2" | ||
// }, | ||
// { | ||
// "matchDatasources": ["docker"], | ||
// "matchPackageNames": ["tomsquest/docker-radicale"], | ||
// "allowedVersions": "/^[0-9]+\\.[0-9]+\\.[0-9]+(\\.[0-9]+)?$/" | ||
// } | ||
// ] | ||
// } |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// { | ||
// "packageRules": [ | ||
// { | ||
// "matchDatasources": ["docker"], | ||
// "automerge": true, | ||
// "automergeType": "branch", | ||
// "requiredStatusChecks": null, | ||
// "stabilityDays": 2, | ||
// "matchUpdateTypes": ["minor", "patch"], | ||
// "matchPackageNames": [ | ||
// // "ghcr.io/k8s-at-home/plex", | ||
// // "ghcr.io/k8s-at-home/radarr", | ||
// // "ghcr.io/k8s-at-home/sonarr", | ||
// // "ghcr.io/k8s-at-home/lidarr", | ||
// // "ghcr.io/k8s-at-home/nzbget", | ||
// // "ghcr.io/k8s-at-home/prowlarr", | ||
// // "ghcr.io/k8s-at-home/readarr-nightly", | ||
// // "ghcr.io/k8s-at-home/qbittorrent", | ||
// // "ghcr.io/k8s-at-home/sabnzbd", | ||
// // "ghcr.io/k8s-at-home/tautulli", | ||
// // "linuxserver/pyload", | ||
// // "sctx/overseerr", | ||
// // "b4bz/homer", | ||
// // "vexorian/dizquetv", | ||
// // "grafana/grafana", | ||
// // "ghcr.io/tarampampam/error-pages", | ||
// // "k8s-at-home/tautulli" | ||
// ], | ||
// "schedule": ["after 2am, before 5am"] | ||
// } | ||
// ] | ||
// } |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"commitMessageTopic": "{{depName}}", | ||
"commitMessageExtra": "to {{newVersion}}", | ||
"commitMessageSuffix": "", | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["helm"], | ||
"commitMessageTopic": "Helm chart {{depName}}" | ||
}, | ||
{ | ||
"matchDatasources": ["docker"], | ||
"commitMessageTopic": "Docker image {{depName}}" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": ["major"], | ||
"labels": ["type/major"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["minor"], | ||
"labels": ["type/minor"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch"], | ||
"labels": ["type/patch"] | ||
}, | ||
{ | ||
"matchDatasources": ["docker"], | ||
"addLabels": ["renovate/container"] | ||
}, | ||
{ | ||
"matchDatasources": ["helm"], | ||
"addLabels": ["renovate/helm"] | ||
}, | ||
{ | ||
"matchDatasources": ["galaxy", "galaxy-collection"], | ||
"addLabels": ["renovate/ansible"] | ||
}, | ||
{ | ||
"matchDatasources": ["terraform-provider"], | ||
"addLabels": ["renovate/terraform"] | ||
}, | ||
{ | ||
"matchDatasources": ["github-releases", "github-tags"], | ||
"addLabels": ["renovate/github-release"] | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"addLabels": ["renovate/github-action"] | ||
} | ||
] | ||
} |
Oops, something went wrong.