2023-11-20 14:31:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
# renovate
|
|
|
|
name: 'renovate'
|
|
|
|
kind: 'pipeline'
|
|
|
|
type: 'kubernetes'
|
|
|
|
|
|
|
|
|
|
|
|
# renovate steps
|
|
|
|
steps:
|
|
|
|
|
|
|
|
# run renovate
|
|
|
|
- name: 'renovate'
|
|
|
|
image: 'registry.hub.docker.com/renovate/renovate'
|
2023-11-20 14:43:05 +01:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- 'master'
|
2023-11-20 14:31:51 +01:00
|
|
|
|
|
|
|
# run this command
|
|
|
|
commands:
|
|
|
|
- 'renovate'
|
|
|
|
|
|
|
|
# environment variables
|
|
|
|
environment:
|
2023-11-20 19:41:26 +01:00
|
|
|
|
|
|
|
# renovate -> github
|
|
|
|
GITHUB_ACCESS_TOKEN:
|
|
|
|
from_secret: 'github_access_token'
|
|
|
|
|
|
|
|
# renovate -> gitea
|
2023-11-20 14:31:51 +01:00
|
|
|
RENOVATE_TOKEN:
|
|
|
|
from_secret: 'renovate_token'
|
|
|
|
RENOVATE_USERNAME: 'renovate'
|
|
|
|
RENOVATE_PLATFORM: 'gitea'
|
|
|
|
RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1'
|
|
|
|
RENOVATE_GIT_URL: 'endpoint'
|
2023-11-20 14:53:46 +01:00
|
|
|
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovate@simoncor.net>'
|
2023-11-20 14:43:05 +01:00
|
|
|
RENOVATE_AUTODISCOVER: true
|