Skip to content

Commit

Permalink
feat(crds): setup Renovate
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Lamirault <[email protected]>
  • Loading branch information
nlamirault committed Oct 4, 2024
1 parent ac588aa commit b790385
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 138 deletions.
175 changes: 95 additions & 80 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"extends": [
"config:base",
":gitSignOff"
":enablePreCommit",
":gitSignOff",
"github>portefaix/.github//.github/renovate/autoMerge.json5",
"github>portefaix/.github//.github/renovate/commitMessage.json5",
"github>portefaix/.github//.github/renovate/labels.json5"
],
"enabled": true,
"timezone": "Europe/Paris",
Expand Down Expand Up @@ -31,84 +35,95 @@
"datasourceTemplate": "github-tags"
},
],
"packageRules": [
// Labels for Docker
"customManagers": [
{
"datasources": ["docker"],
"updateTypes": ["major"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/docker", "priority/high", "size/xs"]
},
{
"datasources": ["docker"],
"updateTypes": ["minor"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/docker", "priority/medium", "size/xs"]
},
{
"datasources": ["docker"],
"updateTypes": ["patch"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/docker", "priority/low", "size/xs"]
},
// Labels for Helm
{
"datasources": ["helm"],
"updateTypes": ["major"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/kubernetes", "dependency/helm", "priority/high", "size/xs"]
},
{
"datasources": ["helm"],
"updateTypes": ["minor"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/kubernetes", "dependency/helm", "priority/medium", "size/xs"]
},
{
"datasources": ["helm"],
"updateTypes": ["patch"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/kubernetes", "dependency/helm", "priority/low", "size/xs"]
},
// Labels for Github Actions
{
"datasources": ["action"],
"updateTypes": ["major"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/github", "dependency/github", "priority/high", "size/xs"]
},
{
"datasources": ["action"],
"updateTypes": ["minor"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/github", "dependency/github", "priority/medium", "size/xs"]
},
{
"datasources": ["action"],
"updateTypes": ["patch"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/github", "dependency/github", "priority/low", "size/xs"]
},
// Labels for Github Tags
{
"datasources": ["github-tags"],
"updateTypes": ["major"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/github", "priority/high", "size/xs"]
},
{
"datasources": ["github-tags"],
"updateTypes": ["minor"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/github", "priority/medium", "size/xs"]
},
{
"datasources": ["github-tags"],
"updateTypes": ["patch"],
"labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/github", "priority/low", "size/xs"]
},
// Enable auto-merge docker
// {
// "datasources": ["docker"],
// "automerge": true,
// "requiredStatusChecks": null,
// "updateTypes": ["minor", "patch"],
// },
// Enable auto-merge helm
// {
// "datasources": ["helm"],
// "automerge": true,
// "requiredStatusChecks": null,
// "updateTypes": ["patch"],
// }
]
"customType": "regex",
"fileMatch": [
"Chart.yaml"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.*appVersion=(?<currentValue>.*)"
],
}
],
// "packageRules": [
// // Labels for Docker
// {
// "datasources": ["docker"],
// "updateTypes": ["major"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/docker", "priority/high", "size/xs"]
// },
// {
// "datasources": ["docker"],
// "updateTypes": ["minor"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/docker", "priority/medium", "size/xs"]
// },
// {
// "datasources": ["docker"],
// "updateTypes": ["patch"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/docker", "priority/low", "size/xs"]
// },
// // Labels for Helm
// {
// "datasources": ["helm"],
// "updateTypes": ["major"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/kubernetes", "dependency/helm", "priority/high", "size/xs"]
// },
// {
// "datasources": ["helm"],
// "updateTypes": ["minor"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/kubernetes", "dependency/helm", "priority/medium", "size/xs"]
// },
// {
// "datasources": ["helm"],
// "updateTypes": ["patch"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/kubernetes", "dependency/helm", "priority/low", "size/xs"]
// },
// // Labels for Github Actions
// {
// "datasources": ["action"],
// "updateTypes": ["major"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/github", "dependency/github", "priority/high", "size/xs"]
// },
// {
// "datasources": ["action"],
// "updateTypes": ["minor"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/github", "dependency/github", "priority/medium", "size/xs"]
// },
// {
// "datasources": ["action"],
// "updateTypes": ["patch"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "area/github", "dependency/github", "priority/low", "size/xs"]
// },
// // Labels for Github Tags
// {
// "datasources": ["github-tags"],
// "updateTypes": ["major"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/github", "priority/high", "size/xs"]
// },
// {
// "datasources": ["github-tags"],
// "updateTypes": ["minor"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/github", "priority/medium", "size/xs"]
// },
// {
// "datasources": ["github-tags"],
// "updateTypes": ["patch"],
// "labels": ["kind/renovate", "lifecycle/active", "status/review_needed", "dependency/github", "priority/low", "size/xs"]
// },
// // Enable auto-merge docker
// // {
// // "datasources": ["docker"],
// // "automerge": true,
// // "requiredStatusChecks": null,
// // "updateTypes": ["minor", "patch"],
// // },
// // Enable auto-merge helm
// // {
// // "datasources": ["helm"],
// // "automerge": true,
// // "requiredStatusChecks": null,
// // "updateTypes": ["patch"],
// // }
// ]
}
19 changes: 10 additions & 9 deletions charts/gateway-api-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@ apiVersion: v2
description: Gateway API CRDs
name: gateway-api-crds
version: 1.1.0
# renovate: datasource=github-tags depName=kubernetes-sigs/gateway-api
appVersion: 1.1.0
home: https://gateway-api.sigs.k8s.io
icon: https://avatars.githubusercontent.com/u/36015203?s=400&v=4
sources:
- https://github.com/kubernetes-sigs/gateway-api
- https://github.com/kubernetes-sigs/gateway-api
keywords:
- kubernetes
- gateway-api
- crds
- kubernetes
- gateway-api
- crds

dependencies:
- name: crds
version: "0.0.0"
- name: crds
version: "0.0.0"

maintainers:
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault

# https://artifacthub.io/docs/topics/repositories/
annotations:
Expand Down
21 changes: 11 additions & 10 deletions charts/grafana-operator-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@ apiVersion: v2
description: Grafana Operator CRDs
name: grafana-operator-crds
version: 1.0.0
# renovate: datasource=github-tags depName=grafana/grafana-operator
appVersion: 5.9.2
home: https://grafana.github.io/grafana-operator/
icon: https://artifacthub.io/image/b4fed1a7-6c8f-4945-b99d-096efa3e4116
sources:
- https://grafana.github.io/grafana-operator/
- https://grafana.github.io/grafana-operator/
keywords:
- kubernetes
- operator
- grafana
- crds
- kubernetes
- operator
- grafana
- crds

dependencies:
- name: crds
version: "0.0.0"
- name: crds
version: "0.0.0"

maintainers:
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault

# https://artifacthub.io/docs/topics/repositories/
annotations:
Expand Down
21 changes: 11 additions & 10 deletions charts/sealed-secrets-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@ apiVersion: v2
description: Sealed Secrets CRDs
name: sealed-secrets-crds
version: 1.0.0
# renovate: datasource=github-tags depName=bitnami-labs/sealed-secrets
appVersion: 0.26.2
home: https://sealed-secrets.netlify.app/
icon: https://bitnami.com/assets/stacks/sealed-secrets/img/sealed-secrets-stack-220x234.png
sources:
- https://github.com/portefaix/portefaix-hub
- https://github.com/bitnami-labs/sealed-secrets
- https://github.com/portefaix/portefaix-hub
- https://github.com/bitnami-labs/sealed-secrets
keywords:
- secrets
- sealed-secrets
- crds
- secrets
- sealed-secrets
- crds

dependencies:
- name: crds
version: "0.0.0"
- name: crds
version: "0.0.0"

maintainers:
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault

# https://artifacthub.io/docs/topics/repositories/
annotations:
Expand Down
19 changes: 10 additions & 9 deletions charts/traefik-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@ apiVersion: v2
description: Traefik CRDs
name: traefik-crds
version: 1.0.0
# renovate: datasource=github-tags depName=traefik/traefik
appVersion: v30.0.2
home: https://traefik.io/
icon: https://raw.githubusercontent.com/traefik/traefik/v2.3/docs/content/assets/img/traefik.logo.png
sources:
- https://github.com/portefaix/portefaix-hub
- https://github.com/traefik/traefik
- https://github.com/portefaix/portefaix-hub
- https://github.com/traefik/traefik
keywords:
- traefik
- crds
- traefik
- crds

dependencies:
- name: crds
version: "0.0.0"
- name: crds
version: "0.0.0"

maintainers:
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault

# https://artifacthub.io/docs/topics/repositories/
annotations:
Expand Down
21 changes: 11 additions & 10 deletions charts/traefik-hub-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@ apiVersion: v2
description: Traefik HUB CRDs
name: traefik-hub-crds
version: 1.0.0
# renovate: datasource=github-tags depName=traefik/traefik
appVersion: v30.0.2
home: https://traefik.io/
icon: https://raw.githubusercontent.com/traefik/traefik/v2.3/docs/content/assets/img/traefik.logo.png
sources:
- https://github.com/portefaix/portefaix-hub
- https://github.com/traefik/traefik
- https://github.com/portefaix/portefaix-hub
- https://github.com/traefik/traefik
keywords:
- traefik
- traefik-hub
- crds
- traefik
- traefik-hub
- crds

dependencies:
- name: crds
version: "0.0.0"
- name: crds
version: "0.0.0"

maintainers:
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault
- name: nlamirault
email: [email protected]
url: https://github.com/nlamirault

# https://artifacthub.io/docs/topics/repositories/
annotations:
Expand Down
Loading

0 comments on commit b790385

Please sign in to comment.