Skip to content

Commit

Permalink
renovate docs
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Oct 15, 2024
1 parent 4c3a367 commit dabb9c8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ then `helm search repo clux` to see the charts.
- [promstack](https://github.com/clux/homelab/tree/main/charts/promstack) :: A low-footprint prometheus/observability chart
- [cx-dashboards](https://github.com/clux/homelab/tree/main/charts/cx-dashboards) :: A set of modern dashboards for small clusters with prometheus backlinks
- [flux](https://github.com/clux/homelab/tree/main/charts/flux) :: Minimal flux for gitops from this repo
- [renovate](https://github.com/clux/homelab/tree/main/charts/renovate) :: renovate for @clux and @kube-rs running [clux/renovate](https://github.com/clux/renovate) img
- [renovate](https://github.com/clux/homelab/tree/main/charts/renovate) :: Minimal renovate running [clux/renovate](https://github.com/clux/renovate)
2 changes: 1 addition & 1 deletion charts/renovate/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: renovate
description: wrapper over renovate
type: application
version: 0.1.0
version: 0.1.1
dependencies:
- name: renovate
version: "*"
Expand Down
12 changes: 2 additions & 10 deletions charts/renovate/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# renovate

A personal `renovate` setup running against select repos in `kube-rs` and `clux`'s repos.
A small `renovate` setup for a daily upgrade job against a select set of repositories.

## Secrets

- [Fine grained minimal renovate token](https://docs.renovatebot.com/modules/platform/github/#running-using-a-fine-grained-token) for [kube-rs](https://github.com/kube-rs) via @sszynrae. kube-rs org has to approve the PAT.

- [Classic PAT](https://docs.renovatebot.com/modules/platform/github/#authentication) for @clux's repos via @sszynrae (need to invite sszynrae as collaborator and opt-in repos in clux.yaml).

## Image

Built from [clux/renovate](https://github.com/clux/renovate).
Runs image from [clux/renovate](https://github.com/clux/renovate).
4 changes: 4 additions & 0 deletions charts/renovate/clux.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
# Cronjob instance for clux
renovate:
repositories: ['"clux/renovate"']
fullnameOverride: 'renovate-clux'
envFrom:
# Classic PAT https://docs.renovatebot.com/modules/platform/github/#authentication
# For clux's repos via sszynrae. Have to sszynrae as collaborator to the repos.
- secretRef:
name: renovate-ssz-pat-classic
4 changes: 4 additions & 0 deletions charts/renovate/kube.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
# Cronjob instance for kube-rs
renovate:
repositories: ['"kube-rs/k8s-pb"']
fullnameOverride: 'renovate-kube'
envFrom:
# Fine grained, minimal renovate token https://docs.renovatebot.com/modules/platform/github/#running-using-a-fine-grained-token
# For kube-rs org via sszynrae. kube-rs org has to approve the PAT.
- secretRef:
name: renovate-kube-pat
14 changes: 2 additions & 12 deletions charts/renovate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
renovate:
# templated config values
repositories: [] # must be json

# https://github.com/renovatebot/helm-charts/blob/main/charts/renovate/values.yaml
cronjob:
#schedule: '0 1 * * *' # At 01:00 every day
Expand All @@ -18,18 +19,7 @@ renovate:
jobBackoffLimit: '0'
#parallelism: ''
initContainers: []
# Verify tooling
# preCommand: |
# set -x
# rg --version && which rg
# fd --version && which fd
# just --version && which just
# sd --version && which sd
# yq --version && which yq
# protoc --version || which protoc
# cargo --version && which cargo
# rustc --version && which rustc
# cargo fmt --version && which rustfmt

image:
registry: ghcr.io
tag: 37.440.7-slim3
Expand Down

0 comments on commit dabb9c8

Please sign in to comment.