Created
August 8, 2022 12:08
-
-
Save chalkygames123/433d49f20ca130a711b4e4da85b87492 to your computer and use it in GitHub Desktop.
Minimal config for running Renovate CLI with GitLab CI/CD's scheduled pipelines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- main | |
renovate: | |
stage: main | |
image: node:alpine | |
variables: | |
RENOVATE_PLATFORM: gitlab | |
RENOVATE_ENDPOINT: https://gitlab.example.com/api/v4 | |
RENOVATE_TOKEN: $RENOVATE_TOKEN | |
RENOVATE_AUTODISCOVER: 'true' | |
RENOVATE_AUTODISCOVER_FILTER: your-group/* | |
RENOVATE_ONBOARDING: 'false' | |
GITHUB_COM_TOKEN: $GITHUB_COM_TOKEN | |
script: | |
- apk add git | |
- npx renovate $RENOVATE_EXTRA_FLAGS | |
rules: | |
- if: $CI_PIPELINE_SOURCE == 'schedule' | |
allow_failure: true | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment