try to setup renovate

This commit is contained in:
Jan Friedli 2020-05-14 18:54:52 +02:00
parent 9bd985044a
commit 0a5e62bda2
No known key found for this signature in database
GPG Key ID: F945FA2FCA30549D
2 changed files with 22 additions and 1 deletions

View File

@ -3,6 +3,7 @@ image: debian:testing
stages:
- linting
- test
- renovate
- build_container
variables:
@ -45,3 +46,13 @@ build-docker:
only:
- tags
- master
renovate:
stage: renovate
variables:
RENOVATE_TOKEN: $GITLAB_API_TOKEN
image:
name: renovate/renovate:19
entrypoint: ['']
script:
- node /usr/src/app/dist/renovate.js --platform gitlab --endpoint ${CI_API_V4_URL} --token ${GITLAB_API_TOKEN} ${CI_PROJECT_PATH}

10
renovate.json Normal file
View File

@ -0,0 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"commitMessagePrefix": "RenovateBot: ",
"packageRules": [
{
"updateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
]
}