Skip to content

Commit

Permalink
feat: Support for Platform "Gerrit" (#18961)
Browse files Browse the repository at this point in the history
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
4 people committed Dec 29, 2023
1 parent 5f16355 commit b2422d8
Show file tree
Hide file tree
Showing 20 changed files with 3,160 additions and 1 deletion.
Binary file added docs/usage/assets/images/gerrit-http-password.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/config/options/index.ts
Expand Up @@ -1042,7 +1042,7 @@ const options: RenovateOptions[] = [
description: 'Set to `true` to automatically approve PRs.',
type: 'boolean',
default: false,
supportedPlatforms: ['azure', 'gitlab'],
supportedPlatforms: ['azure', 'gerrit', 'gitlab'],
},
// depType
{
Expand Down
1 change: 1 addition & 0 deletions lib/config/presets/local/index.ts
Expand Up @@ -21,6 +21,7 @@ const resolvers = {
bitbucket: local,
'bitbucket-server': local,
codecommit: null,
gerrit: local,
gitea,
github,
gitlab,
Expand Down
1 change: 1 addition & 0 deletions lib/constants/platforms.ts
Expand Up @@ -3,6 +3,7 @@ export type PlatformId =
| 'codecommit'
| 'bitbucket'
| 'bitbucket-server'
| 'gerrit'
| 'gitea'
| 'github'
| 'gitlab'
Expand Down
2 changes: 2 additions & 0 deletions lib/modules/platform/api.ts
Expand Up @@ -3,6 +3,7 @@ import * as azure from './azure';
import * as bitbucket from './bitbucket';
import * as bitbucketServer from './bitbucket-server';
import * as codecommit from './codecommit';
import * as gerrit from './gerrit';
import * as gitea from './gitea';
import * as github from './github';
import * as gitlab from './gitlab';
Expand All @@ -16,6 +17,7 @@ api.set(azure.id, azure);
api.set(bitbucket.id, bitbucket);
api.set(bitbucketServer.id, bitbucketServer);
api.set(codecommit.id, codecommit);
api.set(gerrit.id, gerrit);
api.set(gitea.id, gitea);
api.set(github.id, github);
api.set(gitlab.id, gitlab);
Expand Down

0 comments on commit b2422d8

Please sign in to comment.