Simon Cornet
055c492b72
All checks were successful
continuous-integration/drone/push Build is passing
40 lines
831 B
YAML
40 lines
831 B
YAML
---
|
|
|
|
# renovate
|
|
name: 'renovate'
|
|
kind: 'pipeline'
|
|
type: 'kubernetes'
|
|
|
|
|
|
# renovate steps
|
|
steps:
|
|
|
|
# run renovate
|
|
- name: 'renovate'
|
|
image: 'registry.hub.docker.com/renovate/renovate'
|
|
when:
|
|
branch:
|
|
- 'master'
|
|
|
|
# run this command
|
|
commands:
|
|
- 'renovate'
|
|
|
|
# environment variables
|
|
environment:
|
|
|
|
# renovate -> github
|
|
GITHUB_ACCESS_TOKEN:
|
|
from_secret: 'github_access_token'
|
|
|
|
# renovate -> gitea
|
|
RENOVATE_TOKEN:
|
|
from_secret: 'renovate_token'
|
|
|
|
RENOVATE_USERNAME: 'renovate'
|
|
RENOVATE_PLATFORM: 'gitea'
|
|
RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1'
|
|
RENOVATE_GIT_URL: 'endpoint'
|
|
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovate@simoncor.net>'
|
|
RENOVATE_AUTODISCOVER: true
|