Production Ready Private Cloud Templates

About Gerrit CI

Gerrit Code Review is a code review system that provides a web user interface on top of the Git version control system. Code changes are displayed side by side and reviewers may add inline comments. Jenkins is an application for monitoring repeated executions of jobs. Combining Jenkins with Gerrit Code Review provides a simple way to facilitate continuous integration.

Our Gerrit CI Architecture

This heat template will provide the following:

  • One salt-master instance (for deployment and configuration management after deployment)
  • One Gerrit instance with MySQL
  • One jenkins-master instance
  • A variable number of Jenkins slaves

Design Specifications

  • Communication between Jenkins and Gerrit happens through ssh. The difficulty of managing ssh keys is removed by deploying through this template.
  • The gerrit-trigger plugin is automatically configured to allow Gerrit to stream code review events to Jenkins to trigger jobs.
  • SSL termination is offloaded to apache on both the Gerrit and Jenkins nodes.
  • Gerrit authentication is configured to use Ubuntu SSO making Gerrit user account management simple.
  • Network isolation and security group isolation at various levels within the stack provide enhanced Cloud security.