Argo/CI/renovate/renovate-job.yaml
2022-05-31 23:24:17 +02:00

43 lines
1.2 KiB
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
spec:
schedule: "@hourly"
concurrencyPolicy: Forbid
jobTemplate:
spec:
ttlSecondsAfterFinished: 3600
template:
spec:
nodeSelector:
kubernetes.io/arch: amd64
containers:
- name: renovate
# Update this to the latest available and then enable Renovate on
# the manifest
image: renovate/renovate:32.0.0
args:
- Roxedus/Argo
# Environment Variables
env:
- name: LOG_LEVEL
value: debug
- name: RENOVATE_PLATFORM
value: gitea
- name: RENOVATE_GIT_AUTHOR
value: "Botty McBottface <bot@roxedus.dev>"
- name: RENOVATE_ENDPOINT
value: "https://git.roxedus.dev/api/v1"
envFrom:
- secretRef:
name: renovate-pat
volumeMounts:
- name: work-volume
mountPath: /tmp/renovate/
restartPolicy: Never
volumes:
- name: work-volume
emptyDir: {}