Difference between revisions of "DEV/Setting up Gerrit"

From fd.io
Jump to: navigation, search
m (add direct link to ssh keys page in gerrit)
 
(4 intermediate revisions by 4 users not shown)
Line 9: Line 9:
 
=== Log into Gerrit ===
 
=== Log into Gerrit ===
  
Go to [http://gerrit.projectrotterdam.info]
+
Go to [https://gerrit.fd.io https://gerrit.fd.io]
  
 
You will see an screen like:
 
You will see an screen like:
Line 20: Line 20:
  
 
[[File:Gerrit Code Review - Sign In.jpg|570px]]
 
[[File:Gerrit Code Review - Sign In.jpg|570px]]
 
  
 
=== Go to Settings ===
 
=== Go to Settings ===
Line 34: Line 33:
 
=== Set ssh key ===
 
=== Set ssh key ===
  
When the 'Settings' screen comes up select 'SSH Settings' in the left hand nav:
+
[https://help.github.com/articles/generating-ssh-keys/#platform-windows Instructions for getting git and generating an ssh key on Windows]
 +
 
 +
When the 'Settings' screen comes up select 'SSH Settings' in the left hand nav (you can also use [https://gerrit.fd.io/r/#/settings/ssh-keys this direct link]):
  
 
[[File:Gerrit - Settings String.jpg|570px]]
 
[[File:Gerrit - Settings String.jpg|570px]]
Line 49: Line 50:
  
 
[[File:Gerrit - SSH key - complete.jpg|570px]]
 
[[File:Gerrit - SSH key - complete.jpg|570px]]
 +
 +
=== Accessing gerrit.fd.io from within DMZ machine ===
 +
[https://wiki.fd.io/view/DEV/Chaining_Git_Over_SSH Accessing public repo from within DMZ machine]

Latest revision as of 20:28, 5 May 2016

Introducing Gerrit

Gerrit is the code review mechanism. All code pushed is first verified and reviewed before it is merged.

Registering your ssh key with Gerrit

In order to use ssh git urls for interacting with gerrit you will need to register your ssh public key with gerrit.

Log into Gerrit

Go to https://gerrit.fd.io

You will see an screen like:

Gerrit - Initial.jpg

Click 'Login' in the upper right hand corner.

Sign in with your LF username and password:

Gerrit Code Review - Sign In.jpg

Go to Settings

Click on your name in the upper right hand corner:

Gerrit - Open.jpg

Select 'Settings'

Gerrit - Settings.jpg


Set ssh key

Instructions for getting git and generating an ssh key on Windows

When the 'Settings' screen comes up select 'SSH Settings' in the left hand nav (you can also use this direct link):

Gerrit - Settings String.jpg

Fill in your ssh public key (there are lots of helpful instructions on this screen for generating a key if you need it, and where to find your public key):

Gerrit - Set SSH Key.jpg

Once you've filled it out it should look something like this:

Gerrit - SSH key filled in.jpg

And once you've submitted it it should look something like this:

Gerrit - SSH key - complete.jpg

Accessing gerrit.fd.io from within DMZ machine

Accessing public repo from within DMZ machine