Compare commits
1 commit
20fb88bb45
...
520aad24dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
520aad24dd |
3 changed files with 53 additions and 1 deletions
32
.drone.yml
32
.drone.yml
|
|
@ -1,6 +1,16 @@
|
||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: renovate
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
|
- push
|
||||||
|
- custom
|
||||||
|
|
||||||
|
environment:
|
||||||
|
LOG_LEVEL: debug
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
|
|
@ -62,3 +72,23 @@ steps:
|
||||||
- mix deps.get
|
- mix deps.get
|
||||||
# Run tests
|
# Run tests
|
||||||
- mix test
|
- mix test
|
||||||
|
|
||||||
|
- name: renovate - validate config
|
||||||
|
image: renovate/renovate:39.256
|
||||||
|
# https://github.com/renovatebot/renovate/discussions/15049
|
||||||
|
commands:
|
||||||
|
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
|
||||||
|
- RENOVATE_CONFIG_FILE="renovate_config.js" renovate-config-validator
|
||||||
|
|
||||||
|
- name: renovate
|
||||||
|
image: renovate/renovate:39.256
|
||||||
|
# https://github.com/renovatebot/renovate/discussions/15049
|
||||||
|
commands:
|
||||||
|
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
|
||||||
|
- RENOVATE_CONFIG_FILE="renovate_config.js" renovate
|
||||||
|
|
||||||
|
environment:
|
||||||
|
RENOVATE_TOKEN:
|
||||||
|
from_secret: RENOVATE_TOKEN
|
||||||
|
#GITHUB_COM_TOKEN:
|
||||||
|
# from_secret: GITHUB_COM_TOKEN
|
||||||
|
|
|
||||||
6
renovate.json
Normal file
6
renovate.json
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
]
|
||||||
|
}
|
||||||
16
renovate_config.js
Normal file
16
renovate_config.js
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
module.exports = {
|
||||||
|
endpoint: "https://git.local-it.org/api/v1/",
|
||||||
|
gitAuthor: 'Renovate Bot <renovate@local-it.org>',
|
||||||
|
username: 'renovate',
|
||||||
|
platform: "gitea",
|
||||||
|
onboarding: true,
|
||||||
|
autodiscover: true,
|
||||||
|
persistRepoData: true,
|
||||||
|
optimizeForDisabled: true,
|
||||||
|
assignees: [],
|
||||||
|
labels: ["renovate", "dependencies", "automated"],
|
||||||
|
onboardingConfig: {
|
||||||
|
extends: ["config:recommended"],
|
||||||
|
},
|
||||||
|
repositories: ["local-it/mitgliederverwaltung"]
|
||||||
|
};
|
||||||
Loading…
Add table
Add a link
Reference in a new issue