Last active
June 21, 2022 07:04
-
-
Save karl-johan-grahn/ce80490d5eedfe49a951b3a53027a413 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| module.exports = { | |
| platform: 'gitlab', | |
| endpoint: 'https://git.<instance>/api/v4/', | |
| baseBranches: ['master'], | |
| labels: ['renovate'], | |
| repositories: [ | |
| "path/to/project1", | |
| "path/to/project2", | |
| ], | |
| binarySource: 'install', | |
| onboarding: true, | |
| extends: [ | |
| 'config:base' | |
| ], | |
| npmrc: "@<company>:registry=https://nexus.<url>/repository/<companyy>_npm/\n@<company>-rmp:registry=https://nexus.<url>/repository/<company>_npm/\n//nexus.<url>/repository/<companny>_npm/:_authToken=${NPM_TOKEN}", | |
| exposeAllEnv: true, | |
| hostRules: [ | |
| { | |
| hostType: 'docker', | |
| matchHost: 'nexus.<url>', | |
| username: process.env.nexus_user, | |
| password: process.env.nexus_password, | |
| }, | |
| { | |
| hostType: 'maven', | |
| matchHost: 'nexus.<url>', | |
| username: process.env.nexus_user, | |
| password: process.env.nexus_password, | |
| }, | |
| { | |
| hostType: 'pypi', | |
| matchHost: '<gitlab instance>', | |
| username: 'gitlab-ci-token', | |
| password: process.env.RENOVATE_TOKEN, | |
| }, | |
| ], | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment