refactor: use renovate template
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e477483e9c
commit
eb2174cf94
1 changed files with 8 additions and 19 deletions
27
.drone.yml
27
.drone.yml
|
@ -20,27 +20,16 @@ steps:
|
|||
- go run gotest.tools/gotestsum@latest -f pkgname-and-test-fails -- -race -shuffle=on ./...
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: housekeeping
|
||||
kind: template
|
||||
load: renovate.yaml
|
||||
data:
|
||||
gitea_token:
|
||||
from_secret: gitea_token
|
||||
github_token:
|
||||
from_secret: github_token
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
cron:
|
||||
- housekeeping
|
||||
|
||||
steps:
|
||||
- name: Renovate
|
||||
image: code.icb4dc0.de/prskr/ci-images/renovate:latest
|
||||
commands:
|
||||
- renovate "${DRONE_REPO}"
|
||||
environment:
|
||||
RENOVATE_TOKEN:
|
||||
from_secret: gitea_token
|
||||
GITHUB_COM_TOKEN:
|
||||
from_secret: github_token
|
||||
RENOVATE_PLATFORM: gitea
|
||||
RENOVATE_AUTODISCOVER: "false"
|
||||
RENOVATE_ENDPOINT: https://code.icb4dc0.de/api/v1
|
||||
LOG_LEVEL: info
|
||||
- housekeeping
|
Loading…
Reference in a new issue