infra/k8s/forgejo/renovatebot.yaml

32 lines
857 B
YAML
Raw Normal View History

2024-09-08 04:55:41 +00:00
apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
spec:
schedule: '@hourly'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: renovate
image: renovate/renovate:38
envFrom:
- secretRef:
name: renovate
- configMapRef:
name: renovate
restartPolicy: Never
---
apiVersion: v1
kind: ConfigMap
metadata:
name: renovate
data:
RENOVATE_AUTODISCOVER: 'true'
RENOVATE_ENDPOINT: 'https://git.janky.solutions'
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovatebot@janky.solutions>'
RENOVATE_PLATFORM: gitea
2024-10-14 16:46:02 +00:00
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: docker run --rm -v $(pwd):/infra -w /infra git.devhack.net/devhack/containers/deployer:latest -- ./helm/render-all.sh