ci / lint-prettier (pull_request) Successful in 7s
ci / lint-ruff (pull_request) Successful in 4s
ci / lint-yaml (pull_request) Successful in 6s
ci / lint-dockerfiles (pull_request) Successful in 4s
ci / validate (pull_request) Successful in 5s
ci / lint-prettier (push) Successful in 9s
ci / lint-ruff (push) Successful in 4s
ci / lint-yaml (push) Successful in 9s
ci / lint-dockerfiles (push) Successful in 5s
ci / validate (push) Successful in 5s
renovate-ci / validate-renovate (pull_request) Successful in 7s
ci / build (pull_request) Has been skipped
ci / build (push) Has been skipped
ci / deploy-userbot-panel (pull_request) Has been skipped
ci / deploy-userbot-panel (push) Has been skipped
59 lines
1.8 KiB
YAML
59 lines
1.8 KiB
YAML
apiVersion: batch/v1
|
|
kind: CronJob
|
|
metadata:
|
|
name: renovate
|
|
namespace: renovate
|
|
spec:
|
|
schedule: "17 */6 * * *"
|
|
concurrencyPolicy: Forbid
|
|
successfulJobsHistoryLimit: 2
|
|
failedJobsHistoryLimit: 3
|
|
jobTemplate:
|
|
spec:
|
|
backoffLimit: 1
|
|
template:
|
|
spec:
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: renovate
|
|
image: renovate/renovate:44.85.0
|
|
env:
|
|
- name: RENOVATE_PLATFORM
|
|
value: gitea
|
|
- name: RENOVATE_ENDPOINT
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: renovate-secrets
|
|
key: RENOVATE_ENDPOINT
|
|
- name: RENOVATE_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: renovate-secrets
|
|
key: RENOVATE_TOKEN
|
|
- name: RENOVATE_REPOSITORIES
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: renovate-secrets
|
|
key: RENOVATE_REPOSITORIES
|
|
- name: RENOVATE_CONFIG_FILE
|
|
value: /opt/renovate/config.js
|
|
- name: RENOVATE_BASE_DIR
|
|
value: /tmp/renovate
|
|
- name: RENOVATE_GITHUB_COM_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: renovate-secrets
|
|
key: RENOVATE_GITHUB_COM_TOKEN
|
|
optional: true
|
|
- name: LOG_LEVEL
|
|
value: info
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /opt/renovate/config.js
|
|
subPath: config.js
|
|
readOnly: true
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: renovate-config
|