refactor: use renovate template
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Peter 2023-07-18 18:55:22 +00:00
parent e477483e9c
commit eb2174cf94

View file

@ -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