git - Gerrit - Gitlab Integration -


in order improve development process, our organization have decided introduce gerrit in development workflow. person responsible implementing gerrit server. user guides available in internet helpful in implementing gerrit our existing workflow. using jenkins , sonar non-interactive users verifying builds. while dealing repositories 1 question rises. of open sources using gerrit-replication plugin replicate latest code public code repository. these public repositories exposed using gitlab users can clone code. here doesn't need public repository code maintained in house.

is choice point both gitlab , gerrit common git repository location?

any appreciated.

you can use gerrit in front of gitlab via replication feature. replication feature not git clone/fetch, pushs (approved) changes remote repository.

  • you have import repositories via e.g. 'git push origin master' requires permissions (or need admin). not big deal unless forget remove these permissions. if forget remove these permissions or administrator (who has these permissions): default "git push" make through without being reviewed.
  • you have make sure no 1 can commit gitlab instance. else have high chance run merge conflicts (gerrit not aware of these new commits). can protect branches in gitlab -- admins (and if remember correct repository creator/owner) have right, too.
  • you have grant gerrit user master permissions allow push gitlab repository.
  • all projects have first created in gitlab, else not synchronized (unless find way repo automatically created in gitlab on first git push)

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -