Skip to content

Instantly share code, notes, and snippets.

@chalkygames123
Created August 8, 2022 12:08
Show Gist options
  • Save chalkygames123/433d49f20ca130a711b4e4da85b87492 to your computer and use it in GitHub Desktop.
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
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