init
This commit is contained in:
2
.github/renovate-update-notification/Dockerfile
vendored
Normal file
2
.github/renovate-update-notification/Dockerfile
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# This file is processed by Renovate bot so that it creates a PR on new major Renovate versions
|
||||
FROM renovate/renovate:37
|
175
.github/renovate.json
vendored
Normal file
175
.github/renovate.json
vendored
Normal file
@@ -0,0 +1,175 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended",
|
||||
"mergeConfidence:all-badges",
|
||||
":rebaseStalePrs"
|
||||
],
|
||||
"timezone": "US/Central",
|
||||
"schedule": [
|
||||
"every weekday"
|
||||
],
|
||||
"labels": [],
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "Disables for non major Renovate version",
|
||||
"matchPaths": [
|
||||
".github/renovate-update-notification/Dockerfile"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch",
|
||||
"pin",
|
||||
"digest",
|
||||
"rollback"
|
||||
],
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"description": "Generate for major Renovate version",
|
||||
"matchPaths": [
|
||||
".github/renovate-update-notification/Dockerfile"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"major"
|
||||
],
|
||||
"addLabels": [
|
||||
"upgrade"
|
||||
],
|
||||
"automerge": false
|
||||
},
|
||||
{
|
||||
"description": "Label service images",
|
||||
"matchDepNames": [
|
||||
"dpage/pgadmin4",
|
||||
"ghcr.io/cloudnative-pg/postgresql",
|
||||
"hashicorp/vault",
|
||||
"portainer/portainer-ce",
|
||||
"redis/redis-stack-server",
|
||||
"unpoller/unpoller"
|
||||
],
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"addLabels": [
|
||||
"service",
|
||||
"image"
|
||||
],
|
||||
"automerge": false,
|
||||
"minimumReleaseAge": "3 days"
|
||||
},
|
||||
{
|
||||
"description": "Label service charts",
|
||||
"matchDepNames": [
|
||||
"argo-cd",
|
||||
"authentik",
|
||||
"cert-manager",
|
||||
"cilium",
|
||||
"cloudnative-pg",
|
||||
"democratic-csi",
|
||||
"external-secrets",
|
||||
"gitea",
|
||||
"grafana",
|
||||
"intel-device-plugins-gpu",
|
||||
"intel-device-plugins-operator",
|
||||
"kube-prometheus-stack",
|
||||
"kubelet-serving-cert-approver",
|
||||
"kubernetes-cloudflare-ddns",
|
||||
"loki",
|
||||
"metallb",
|
||||
"metrics-server",
|
||||
"nfs-subdir-external-provisioner",
|
||||
"node-feature-discovery",
|
||||
"pgadmin4",
|
||||
"portainer",
|
||||
"postgres-cluster",
|
||||
"prometheus-operator-crds",
|
||||
"promtail",
|
||||
"redis",
|
||||
"rook-ceph-cluster",
|
||||
"rook-ceph",
|
||||
"speedtest-exporter",
|
||||
"traefik",
|
||||
"unpoller",
|
||||
"vault"
|
||||
],
|
||||
"matchDatasources": [
|
||||
"helm"
|
||||
],
|
||||
"addLabels": [
|
||||
"service",
|
||||
"chart"
|
||||
],
|
||||
"automerge": false,
|
||||
"minimumReleaseAge": "3 days"
|
||||
},
|
||||
{
|
||||
"description": "Label application images",
|
||||
"matchDepNames": [
|
||||
"deluan/navidrome",
|
||||
"ghcr.io/advplyr/audiobookshelf",
|
||||
"ghcr.io/linuxserver/calibre-web",
|
||||
"jellyfin/jellyfin",
|
||||
"linuxserver/code-server",
|
||||
"vikunja/api",
|
||||
"vikunja/frontend"
|
||||
],
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"addLabels": [
|
||||
"application",
|
||||
"image"
|
||||
],
|
||||
"automerge": false,
|
||||
"minimumReleaseAge": "3 days"
|
||||
},
|
||||
{
|
||||
"description": "Label application charts",
|
||||
"matchDepNames": [
|
||||
"audiobookshelf",
|
||||
"calibre-server",
|
||||
"calibre-web",
|
||||
"code-server",
|
||||
"cops",
|
||||
"freshrss",
|
||||
"home-assistant",
|
||||
"homepage",
|
||||
"jellyfin",
|
||||
"libation",
|
||||
"navidrome",
|
||||
"outline",
|
||||
"plex",
|
||||
"tubearchivist",
|
||||
"tubearchivist-to-jellyfin",
|
||||
"vikunja"
|
||||
],
|
||||
"matchDatasources": [
|
||||
"helm"
|
||||
],
|
||||
"addLabels": [
|
||||
"application",
|
||||
"chart"
|
||||
],
|
||||
"automerge": false,
|
||||
"minimumReleaseAge": "3 days"
|
||||
},
|
||||
{
|
||||
"description": "Automerge the plex image",
|
||||
"matchDepNames": [
|
||||
"ghcr.io/onedr0p/plex"
|
||||
],
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"addLabels": [
|
||||
"application",
|
||||
"image"
|
||||
],
|
||||
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)-(?<revision>.+)?$",
|
||||
"automerge": true,
|
||||
"automergeType": "branch",
|
||||
"minimumReleaseAge": "3 days"
|
||||
}
|
||||
]
|
||||
}
|
37
.github/workflows/lint-test.yaml
vendored
Normal file
37
.github/workflows/lint-test.yaml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: lint-and-test-charts
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
lint-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Helm
|
||||
uses: azure/setup-helm@v4
|
||||
with:
|
||||
version: v3.13.3
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.10"
|
||||
check-latest: true
|
||||
|
||||
- name: Set up chart-testing
|
||||
uses: helm/chart-testing-action@v2.6.1
|
||||
|
||||
- name: Run chart-testing (list-changed)
|
||||
id: list-changed
|
||||
run: |
|
||||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
|
||||
if [[ -n "$changed" ]]; then
|
||||
echo "changed=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Run chart-testing (lint)
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
|
Reference in New Issue
Block a user