Argo/CI/renovate/renovate-job.yaml

50 lines
1.5 KiB
YAML
Raw Normal View History

2022-05-26 05:51:13 +02:00
apiVersion: batch/v1
kind: CronJob
metadata:
name: renovate
spec:
schedule: "@hourly"
concurrencyPolicy: Forbid
jobTemplate:
spec:
2022-05-26 14:40:37 +02:00
ttlSecondsAfterFinished: 3600
2022-05-26 05:51:13 +02:00
template:
spec:
2022-05-26 06:06:01 +02:00
nodeSelector:
kubernetes.io/arch: amd64
2022-05-26 05:51:13 +02:00
containers:
- name: renovate
2022-05-26 06:06:01 +02:00
2022-05-26 05:51:13 +02:00
# Update this to the latest available and then enable Renovate on
# the manifest
2022-06-05 22:42:01 +02:00
image: renovate/renovate:32.74.2
2022-05-26 05:51:13 +02:00
args:
2022-05-26 06:17:01 +02:00
- Roxedus/Argo
2022-05-26 05:51:13 +02:00
# Environment Variables
env:
- name: LOG_LEVEL
value: debug
- name: RENOVATE_PLATFORM
value: gitea
- name: RENOVATE_GIT_AUTHOR
value: "Botty McBottface <bot@roxedus.dev>"
2022-05-26 06:14:44 +02:00
- name: RENOVATE_ENDPOINT
value: "https://git.roxedus.dev/api/v1"
2022-05-26 05:51:13 +02:00
envFrom:
- secretRef:
name: renovate-pat
2022-07-02 21:33:44 +02:00
- secretRef:
2022-07-02 21:35:09 +02:00
name: renovate-gh
2022-05-26 05:51:13 +02:00
volumeMounts:
- name: work-volume
mountPath: /tmp/renovate/
restartPolicy: Never
2022-07-02 21:37:54 +02:00
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
2022-05-26 05:51:13 +02:00
volumes:
- name: work-volume
emptyDir: {}