From 56f1014769af54b48a6a2f7a7dab40d273d18ea1 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Thu, 31 Oct 2019 20:46:42 +0100 Subject: [PATCH] Initial commit Provides an innitial version of the renovate bot config along with a gitlab-ci.yml that will run on scheduled setups. --- .gitlab-ci.yml | 13 +++++++++++++ config.js | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .gitlab-ci.yml create mode 100644 config.js diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..23e5397 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +image: docker.io/renovate/renovate:19 + +stages: + - CI + +run: + stage: CI + before_script: + - cp config.js /usr/src/app/config.js + script: + - node /usr/src/app/dist/renovate.js + only: + - schedules diff --git a/config.js b/config.js new file mode 100644 index 0000000..3d385c8 --- /dev/null +++ b/config.js @@ -0,0 +1,14 @@ +module.exports = { + platform: 'gitlab', + endpoint: 'https://git.shivering-isles.com/api/v4/', + token: process.env.RENOVATE_TOKEN, + autodiscover: true, + + logLevel: 'info', + + onboarding: true, + onboardingConfig: { + extends: ['config:base'], + prConcurrentLimit: 5, + } +};