From eb2174cf94159c55c18d42927f2da058f96add2e Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 18 Jul 2023 18:55:22 +0000 Subject: [PATCH] refactor: use renovate template --- .drone.yml | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/.drone.yml b/.drone.yml index dcafc65..171be69 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file + - housekeeping \ No newline at end of file