#+TITLE: gerrit-hook A hook for gerrit. * Configuring the gerrit user First create the account with =rgerrit create-account CI=. Next we need to generate the HTTP password for the user, this can be done with =gerrit set-account CI --generate-http-password=. Store the password in the file [[file:~/workspace/world/hosts/tahoe/secrets/gerrit/hooks.age][gerrit/hook.age]] * Configuring the buildKite API key You can obtain API token by going to this [[https://buildkite.com/user/api-access-tokens][page]]. Store the API token in the same file as the gerrit user.