Skip to content

Commit

Permalink
feat: Support for Platform "Gerrit" (renovatebot#18961)
Browse files Browse the repository at this point in the history
Co-authored-by: HonkingGoose <[email protected]>
Co-authored-by: Michael Kriese <[email protected]>
Co-authored-by: Rhys Arkins <[email protected]>
  • Loading branch information
4 people authored and zT-1337 committed Jan 22, 2024
1 parent 7cc2baf commit c26ae94
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
Loading
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 @@ -17,6 +18,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
Loading

0 comments on commit c26ae94

Please sign in to comment.