summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Friedli2020-05-14 19:05:32 +0200
committerJan Friedli2020-05-14 19:05:32 +0200
commit3a83de139a696a471a8b16246c38d2643cba6e19 (patch)
tree230036d593c26ae89fed0f458a81041aaebb2410
parentd611e92381bbdd54f81f067c59f7522ed93f7231 (diff)
parent0a5e62bda21cb67766e9ac6146449080ba25bcec (diff)
merged renovate bot config
-rw-r--r--.gitlab-ci.yml13
-rw-r--r--renovate.json11
2 files changed, 21 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b7e2440..94f1633 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ image: debian:testing
3stages: 3stages:
4 - linting 4 - linting
5 - test 5 - test
6 - renovate
6 - build_container 7 - build_container
7 8
8variables: 9variables:
@@ -44,4 +45,14 @@ build-docker:
44 - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.production --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG 45 - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.production --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
45 only: 46 only:
46 - tags 47 - tags
47 - master \ No newline at end of file 48 - master
49
50renovate:
51 stage: renovate
52 variables:
53 RENOVATE_TOKEN: $GITLAB_API_TOKEN
54 image:
55 name: renovate/renovate:19
56 entrypoint: ['']
57 script:
58 - node /usr/src/app/dist/renovate.js --platform gitlab --endpoint ${CI_API_V4_URL} --token ${GITLAB_API_TOKEN} ${CI_PROJECT_PATH} \ No newline at end of file
diff --git a/renovate.json b/renovate.json
index 7190a60..144227e 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,3 +1,10 @@
1{ 1{
2 "$schema": "https://docs.renovatebot.com/renovate-schema.json" 2 "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3} 3 "commitMessagePrefix": "RenovateBot: ",
4 "packageRules": [
5 {
6 "updateTypes": ["minor", "patch", "pin", "digest"],
7 "automerge": true
8 }
9 ]
10} \ No newline at end of file