add config and drone
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Bertrand Benjamin 2024-01-10 06:28:08 +01:00
parent 7a8d18aea5
commit 3179ec8fe6
2 changed files with 42 additions and 0 deletions

32
.drone.yml Normal file
View File

@ -0,0 +1,32 @@
---
kind: pipeline
type: docker
name: renovate
trigger:
event:
- cron
- push
- custom
environment:
LOG_LEVEL: debug
steps:
- name: renovate - validate config
image: renovate/renovate:37.127
# https://github.com/renovatebot/renovate/discussions/15049
commands:
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
- renovate-config-validator
- name: renovate
image: renovate/renovate:37.127
# https://github.com/renovatebot/renovate/discussions/15049
commands:
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
- renovate
environment:
RENOVATE_TOKEN:
from_secret: RENOVATE_TOKEN

10
config.js Normal file
View File

@ -0,0 +1,10 @@
module.exports = {
platform: "gitea",
endpoint: "https://git.opytex.org/api/v1/",
autodiscover: true,
onboardingConfig: {
extends: ["renovate/renovate-config"],
},
optimizeForDisabled: true,
persistRepoData: true,
};