From 4ffe78d32286c53c0ec61fb37798747c4b914487 Mon Sep 17 00:00:00 2001 From: Michael Kriese <michael.kriese@visualon.de> Date: Fri, 4 Dec 2020 10:00:23 +0100 Subject: [PATCH] docs: add gitlab pipeline hints (#7885) --- docs/usage/self-hosting.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/usage/self-hosting.md b/docs/usage/self-hosting.md index 9d0df4c4a6..cf8fa2ce5a 100644 --- a/docs/usage/self-hosting.md +++ b/docs/usage/self-hosting.md @@ -176,6 +176,14 @@ workflows: - master ``` +#### GitLab CI/CD pipeline + +For GitLab pipelines we recommend to checkout [this](https://gitlab.com/renovate-bot/renovate-runner). +We've prepared some pipeline templates to simply run renovate on pipeline schedules. +You will find necessary configuration steps there. + +For self-hosted GitLab clone / import [this](https://gitlab.com/renovate-bot/renovate-runner) project to your instance. + ## Configuration Self-hosted Renovate can be configured using any of the following (or a combination): @@ -200,7 +208,7 @@ Configure it either as `token` in your `config.js` file, or in environment varia #### GitLab CE/EE -First, [create a personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) for the bot account (select "api" scope). +First, [create a personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) for the bot account (select `read_user`, `api` and `write_repository` scopes). Configure it either as `token` in your `config.js` file, or in environment variable `RENOVATE_TOKEN`, or via CLI `--token=`. Don't forget to configure `platform=gitlab` somewhere in config. -- GitLab