Infrastructure

Gerrit option runbook

Gerrit as the change-based review option for Managed Git Server


This is the Gerrit option runbook for Managed Git Server. Gerrit is for teams using change-based review for large repositories, regulated development, multi-repository workflows, or projects where patch-set review and submit rules matter more than pull request conventions.

Gerrit is selected after assessing workflow readiness, identity, plugin needs, hosting location, CI adapter ownership, backup expectations, compliance evidence, and developer onboarding impact.

Use caseWhy Gerrit fits
Change-based code reviewReview atomic changes with patch sets, labels, and submit requirements
Regulated engineeringEnforce explicit approvals, verification, audit trails, and controlled submit paths
Large multi-repo programsSupport workflows common in Android-style, embedded, platform, and vendor ecosystems
CI-gated submissionIntegrate verification results before changes enter protected branches

Managed scope#

AreaAssistance operates
ProvisioningGerrit installation, sizing, storage, networking, TLS, and secure baseline configuration
LifecycleVersion upgrades, plugin compatibility checks, maintenance windows, and rollback planning
ReliabilityBackups, restore procedures, monitoring, alerting, and incident triage
Identity and accessLDAP, SAML/OIDC, group mapping, permissions review, and admin handoff
CI integrationEvent stream integration, verification labels, build feedback, and pipeline connectivity

Deployment models#

ModelWhen to use it
Dedicated Gerrit instanceTeams that need a private review platform with predictable operations
Gerrit in your cloud accountOrganizations with existing cloud networking, identity, or compliance controls
Gerrit on KubernetesTeams standardizing delivery platforms on Kubernetes and GitOps workflows
Migration engagementMove from self-hosted Gerrit, GitLab/GitHub review flows, or legacy SCM tooling into an operated Gerrit model

Operating boundaries#

ResponsibilityAssistanceCustomer team
Platform runtimeInstall, configure, monitor, patch, back up, restore, and operate GerritConsume Gerrit safely from developer workflows
Review modelConfigure labels, permissions, submit requirements, and plugins by agreementDefine approval policy, ownership rules, and team workflow expectations
CI/CDIntegrate Gerrit events with agreed pipeline systemsOwn build logic, test coverage, and release criteria
SecurityMaintain platform hardening, TLS, access controls, and audit supportManage user lifecycle, repository sensitivity, and internal approval policy

Runner and verification integration#

Gerrit does not select CI capacity with GitLab-style runner tags or Actions-style runs-on labels. Gerrit emits change, patch-set, and review events; Jenkins, Zuul, Tekton, or a custom adapter consumes those events, schedules verification workers, and reports labels or comments back to Gerrit.

Use Managed Runners for the worker capacity, runner monitoring for queue and health signals, and runner troubleshooting when verification jobs are stuck, offline, or unable to reach private systems. The Gerrit runbook should record the event source, adapter owner, verification labels, submit requirements, runner pool, and escalation path.

Onboarding process#

1. Review workflow assessment#

We review your repositories, branch model, reviewer groups, CI expectations, identity provider, and existing Gerrit or code review pain points.

2. Platform design#

We define hosting location, sizing, authentication, backup policy, monitoring, plugin set, and CI integration path.

3. Provision and migrate#

We deploy Gerrit, configure access, migrate projects where needed, connect pipelines, and validate patch-set and submit workflows.

4. Operate and improve#

We run updates, monitor health, review incidents, support plugin changes, and adjust capacity or workflow configuration as usage grows.

FAQ#

Can you migrate an existing Gerrit instance? Yes. We can assess your current Gerrit version, plugins, authentication, project configuration, repositories, and backup state before planning a migration or upgrade path.

Can Gerrit integrate with our CI system? Yes. Gerrit commonly integrates with Jenkins, Zuul, Tekton, and custom automation through events, REST APIs, SSH, and verification labels.

Do you manage Gerrit plugins? Yes, within an agreed plugin set. We review compatibility during upgrades and treat plugins as part of the supported operating boundary.

Can Gerrit run in our own cloud account? Yes. We can operate Gerrit in your cloud or private environment when access, networking, backup, and responsibility boundaries are clearly scoped.