Page MenuHomePhabricator

Document how to make Gerrit observe GitHub repos, common problems and how to fix them
Closed, ResolvedPublic

Description

In T203246: ORES mirrors in gerrit are not getting updated we experienced some issues. ORES development and repositories are on GitHub, but they wanted to use Gerrit for deploying to production, hence Gerrit had to observe, and GitHub to push to Gerrit. It'd be good if we could have some docs on how to properly configure the repos, Gerrit, etc. for future request, so they don't block development, etc. Thanks!

Event Timeline

The easiest way is to use diffusion to observe from GitHub and then diffusion mirror to gerrit.

The easiest way is to use diffusion to observe from GitHub and then diffusion mirror to gerrit.

I thought about it (using K18/K19 right?) but maybe they did something else? Otherwise this method is simple and understandable for me.

How shall we configure gerrit repos to accept Diffusion pushes? All-Projects-In-Phabricator to own them as well?

Thanks.

@MarcoAurelio nope they can still be All-Projects i think (or owned by any other project).

and k18 is used for https and k19 is used for ssh (gerrit).

thcipriani claimed this task.

I added the small blurb of documentation that I wish I had when attempting to resolve T203246.

https://wikitech.wikimedia.org/wiki/Gerrit#ORES