chore: add renovate bot config

This commit is contained in:
Jef Roosens 2026-04-20 20:16:13 +02:00
parent 300358fa98
commit ba3215f5ee
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
2 changed files with 65 additions and 26 deletions

View file

@ -26,14 +26,17 @@
roles: roles:
- role: any.tools.restic - role: any.tools.restic
vars: vars:
# renovate: datasource=github-releases depName=restic/restic
restic_version: "0.18.1" restic_version: "0.18.1"
- role: any.tools.otel-cli - role: any.tools.otel-cli
vars: vars:
# renovate: datasource=github-releases depName=equinix-labs/otel-cli
otel_cli_version: "0.4.5" otel_cli_version: "0.4.5"
# TODO restic-rest subvolumes # TODO restic-rest subvolumes
- role: any.software.restic-rest - role: any.software.restic-rest
vars: vars:
restic_rest_data_dir: "/mnt/data1/restic-rest" restic_rest_data_dir: "/mnt/data1/restic-rest"
# renovate: datasource=github-releases depName=restic/rest-server
restic_rest_version: "0.12.1" restic_rest_version: "0.12.1"
- name: Set up OTEL collector - name: Set up OTEL collector
@ -63,7 +66,7 @@
name: "/@rootfs/data/miniflux/postgres" name: "/@rootfs/data/miniflux/postgres"
- role: any.software.miniflux-podman - role: any.software.miniflux-podman
vars: vars:
postgres_data_dir: '/data/miniflux/postgres' postgres_data_dir: "/data/miniflux/postgres"
- role: any.tools.backup-scripts - role: any.tools.backup-scripts
become: true become: true
vars: vars:
@ -88,6 +91,7 @@
name: "/webdav/data" name: "/webdav/data"
- role: any.software.webdav - role: any.software.webdav
vars: vars:
# renovate: datasource=github-releases depName=hacdias/webdav
webdav_version: "5.7.4" webdav_version: "5.7.4"
data_dir: "{{ btrfs_raid.path }}/webdav/data" data_dir: "{{ btrfs_raid.path }}/webdav/data"
@ -101,7 +105,6 @@
type: "btrfs-subvolume" type: "btrfs-subvolume"
path: "{{ btrfs_raid.path }}/webdav/data" path: "{{ btrfs_raid.path }}/webdav/data"
- name: Set up Forgejo - name: Set up Forgejo
hosts: emma hosts: emma
tags: forgejo tags: forgejo
@ -129,6 +132,7 @@
- role: any.software.forgejo-podman - role: any.software.forgejo-podman
vars: vars:
# General # General
# renovate: datasource=forgejo-releases depName=forgejo/forgejo
forgejo_version: '11.0.11' forgejo_version: '11.0.11'
forgejo_postgres_version: '14.8' forgejo_postgres_version: '14.8'
@ -187,9 +191,9 @@
- role: any.tools.backup-scripts - role: any.tools.backup-scripts
vars: vars:
backups: backups:
- name: 'otter-data' - name: "otter-data"
type: 'btrfs-subvolume' type: "btrfs-subvolume"
path: '/data/otter/data' path: "/data/otter/data"
- name: Set up Nefarious - name: Set up Nefarious
hosts: emma hosts: emma
@ -227,14 +231,14 @@
become: true become: true
- role: any.software.actual-podman - role: any.software.actual-podman
vars: vars:
data_dir: '/data/actual/data' data_dir: "/data/actual/data"
- role: any.tools.backup-scripts - role: any.tools.backup-scripts
become: true become: true
vars: vars:
backups: backups:
- name: 'actual-data' - name: "actual-data"
type: 'btrfs-subvolume' type: "btrfs-subvolume"
path: '/data/actual/data' path: "/data/actual/data"
- name: Set up Baikal - name: Set up Baikal
hosts: emma hosts: emma
@ -262,12 +266,12 @@
become: true become: true
vars: vars:
backups: backups:
- name: 'baikal-config' - name: "baikal-config"
type: 'btrfs-subvolume' type: "btrfs-subvolume"
path: '/data/baikal/config' path: "/data/baikal/config"
- name: 'baikal-Specific' - name: "baikal-Specific"
type: 'btrfs-subvolume' type: "btrfs-subvolume"
path: '/data/baikal/Specific' path: "/data/baikal/Specific"
- name: Set up Syncthing - name: Set up Syncthing
hosts: emma hosts: emma
@ -315,17 +319,17 @@
become: true become: true
vars: vars:
backups: backups:
- name: 'monica-data' - name: "monica-data"
type: 'btrfs-subvolume' type: "btrfs-subvolume"
path: '/data/monica/config' path: "/data/monica/config"
- name: 'monica-mariadb' - name: "monica-mariadb"
type: 'podman-mysql' type: "podman-mysql"
user: 'debian' user: "debian"
container: 'systemd-monica-mariadb' container: "systemd-monica-mariadb"
mysql_user: 'monica' mysql_user: "monica"
mysql_password: 'monica' mysql_password: "monica"
database: 'monica' database: "monica"
- name: Set up Recipya - name: Set up Recipya
hosts: emma hosts: emma
@ -371,6 +375,7 @@
immich_postgres_dir: "/data/immich/postgres" immich_postgres_dir: "/data/immich/postgres"
immich_upload_dir: "/mnt/data1/photos/immich-upload" immich_upload_dir: "/mnt/data1/photos/immich-upload"
immich_model_cache_dir: "/data/immich/model-cache" immich_model_cache_dir: "/data/immich/model-cache"
immich_hw_accel: "nvidia"
immich_libraries: immich_libraries:
- path: "/mnt/data1/photos/jef" - path: "/mnt/data1/photos/jef"
name: "jef" name: "jef"
@ -400,7 +405,7 @@
name: "/@rootfs/data/matrix-tuwunel/data" name: "/@rootfs/data/matrix-tuwunel/data"
- role: any.software.tuwunel - role: any.software.tuwunel
vars: vars:
tuwunel_data_dir: '/data/matrix-tuwunel/data' tuwunel_data_dir: "/data/matrix-tuwunel/data"
- role: any.tools.backup-scripts - role: any.tools.backup-scripts
vars: vars:
backups: backups:
@ -408,6 +413,17 @@
type: "btrfs-subvolume" type: "btrfs-subvolume"
path: "/data/matrix-tuwunel/data" path: "/data/matrix-tuwunel/data"
- name: Set up log pipeline test
hosts: emma
tags: [log-test, otel]
become: true
roles:
- role: any.tools.backup-scripts
vars:
backups:
- name: "log-test"
type: "echo-test"
- name: Set up GreptimeDB - name: Set up GreptimeDB
hosts: emma hosts: emma
tags: [greptimedb, otel] tags: [greptimedb, otel]
@ -423,6 +439,9 @@
vars: vars:
greptimedb_data_dir: "/data/greptimedb/data" greptimedb_data_dir: "/data/greptimedb/data"
# renovate: datasource=gitea-releases depName=GreptimeTeam/greptimedb
greptimedb_version: 'v1.0.0'
- name: Set up Grafana - name: Set up Grafana
hosts: emma hosts: emma
tags: [grafana, otel] tags: [grafana, otel]

20
renovate.json Normal file
View file

@ -0,0 +1,20 @@
{
"platform": "forgejo",
"endpoint": "https://git.rustybever.be",
"repositories": [
"Chewing_Bever/homelab"
],
"enabledManagers": [
"custom.regex"
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/plays/.*\\.yml$/"],
"matchStrings": [
"#\\s*renovate:\\s*(datasource=(?<datasource>.*?) )?depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s*\\w*:\\s*\"?(?<currentValue>[^\"]*)\"?\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}