Gerrit Repository Manager

The Gerrit Repository Manager integration have to be configured on your CDS by a CDS Administrator.

This integration allows you to link a Git Repository hosted by Gerrit to a CDS application.

This integration enables some features:

How to configure Gerrit integration

You will have to create 2 users on gerrit: [How to]

Import configuration

Create a yml file:

version: v1.0
name: gerrit
type: gerrit
description: "gerrit new dev"
auth:
    sshUsername: gerrit-username # # User to access to gerrit event stream
    sshPort: 29418
    sshPrivateKey: foofoofoo\non\none\nline\nhere # Private key of the user who access to gerrit event stream
    user: admin # User that review changes
    token: gerrit-generated-password # Http Password of the user that comment changes
cdsctl experimental project vcs import YOUR_CDS_PROJECT_KEY vcs-gerrit.yml

See how to generate Configuration File

Start the vcs µService

$ engine start vcs

# you can also start CDS api and vcs in the same process:
$ engine start api vcs