21 Commits

Author SHA1 Message Date
James E. Blair
83d516611a Add note about launchpadlib creds
Change-Id: Iea5c39f9fbac8f5b6a22d1e31a8983e936aed5cd
2012-04-13 09:22:57 -07:00
James E. Blair
20bf6a8139 Add python-mysqldb to gerrit servers
And other depends for launchpad sync script.

Change-Id: I1f2d628485b201fadeb46fed4b48bba65f283d00
2012-04-12 17:47:34 -07:00
James E. Blair
c4eaff3957 Install and manage more of Gerrit.
Upgrade gerrit to 2.3.0.

Add management of the apache virtualhost.

Remove gerrit body styling (including the javascript hack) in favor
of using the gerrit theme config options for body styling.  Keep header
and top menu changes.  This should make it easier to keep up with new
gerrit versions without chasing weird GWT changes.

Add management of the gerrit init script.

Add management of MySQL.

Add installation and upgrading of Gerrit.

Change-Id: Idf9e551552d335a2ae82cd27a63edcf6daf94115
2012-04-11 22:38:15 +00:00
James E. Blair
33ef15108a Revert "Move gerrit scripts into puppet module"
This reverts commit 428ec0b42dd0a33eba9752aa0e5f475044be5508
2012-04-05 20:15:19 +00:00
Andrew Hutchings
428ec0b42d Move gerrit scripts into puppet module
Moving the cron executed gerrit scripts into the puppet module.  This is for two reasons:

1. Easier/faster to deploy/maintain than having a cron job for a separate git repo
2. We can add customisations required for review-dev and stackforge

Change-Id: Iaf44e1d57d6ee6ea282575b1b48261f4ccbbaf3f
2012-04-04 15:27:18 +01:00
Andrew Hutchings
87daa5e032 Fix logo in gerrit
Puppet wasn't evaluating ${title} due to wrong quotes used

Change-Id: I70bdb25e895791512a3a6683366878b1ab31e974
2012-03-21 16:40:19 +00:00
Andrew Hutchings
31c328b623 Fix Puppet for Review site
Natty's puppet doesn't support system users so remove that for now.

Change-Id: Ie389462d60530710e5c8c18ba9e9426f3b996694
2012-03-21 16:27:29 +00:00
Andrew Hutchings
08be53181b Add Openstack look to gerrit
* Adds stylesheet, header and images to make gerrit look more like an Openstack thing
* Adds Javascript hack that the CSS detects so we don't ruin the style of the patch pages
* Adds both openstack and stackforge logo
* Also adds stackforge logo to stackforge Jenkins

Change-Id: Ic541443fb706ab119a9d47f474bcad2bf8e9907e
2012-03-21 15:35:47 +00:00
Andrew Hutchings
00059f5b2f Modify puppet repo to work with stackforge
Add stackforge manifest (can be pointed to in puppet.ini)
Remove gerrit_installed lib (doesn't work with puppet master)
Make jenkins_master module more generic
Have an SSH key for different jenkins_slave setups

Change-Id: Ic52f06d150210038aaf47c48aeb7c991b94c6fc8
2012-03-16 14:21:11 +00:00
Hengqing Hu
dcd994da28 Remove trailing whitespaces in regular file
Change-Id: I06d4ed2a8153820f7253c6602bfa8c05af59e06f
2012-03-09 16:02:04 +08:00
James E. Blair
5cd947a18c Repack git repos weekly.
Early Sunday mornings, repack all the git repos in gerrit.  This
currently takes 41 seconds for all 32 repositories, so running
it weekly doesn't seem too intensive.

Fixes bug 943623.

Change-Id: Iff0e999c27b428cd1170706e3dc7ede3a1a178a8
2012-03-08 16:00:43 -08:00
Andrew Hutchings
6f48f94585 Add support for LP: #nnnnnn bug format
Fixes bug: 928444

Change-Id: Iab6b9206e4fad8bb64c4c8d8002950ab63d334af
2012-02-08 20:41:15 +00:00
Andrew Hutchings
eeaba1202a Adds expire_old_reviews.py to puppet
Adds a cron job to puppet for expire_old_reviews.py and creates a directory for the logs

Required for bug 907842

Change-Id: Ia07fd6dd90035d34a2008a99263274d2846d2c7a
2012-01-12 13:00:50 +00:00
James E. Blair
ebac164ee0 Add CLA config to gerrit.
Also add the echosign "cla" which just points devs to the wiki page.

Change-Id: I0ef37511d9f7e7495d78f2f3cd9fde47f88aa99c
2012-01-04 10:49:40 -08:00
James E. Blair
37ffe84997 Fix commentlink regex for blueprints.
Fixes bug 868376.

Change-Id: I9cc39941dfb623be1519bf91f67b98001ab843c7
2011-10-06 10:52:48 -04:00
James E. Blair
0d8b89c252 Cleanup.
Remove include cowbuilder; not needed since it's a module.
Change cron strings to single quotes so that puppet doesn't try to
interpolate escaped chars.

Change-Id: I4f6b7b84fc7b0b67a49edabc5138bcbe345d1784
Reviewed-on: https://review.openstack.org/267
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2011-08-18 20:29:15 +00:00
James E. Blair
cfa2c921cb Add gitweb to gerrit servers.
Change-Id: Ibf958392eff5011e3c150a192f4fc33abc0570aa
Reviewed-on: https://review.openstack.org/266
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2011-08-17 21:16:51 +00:00
James E. Blair
92f82238bc Put blueprint updates into production.
Call the blueprint update script from the patchset created hook.

Add blueprint comment links.
Also, add changeid comment links.

This change depends on I62f965ca7f14f589e3b299ea46729efb68abd06f
in openstack-ci.

Change-Id: I62b0644ffea4b4d7f5a3407fc9e776b28e200278
Reviewed-on: https://review.openstack.org/254
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2011-08-16 22:15:35 +00:00
James E. Blair
4d39ca5280 Fix crontab typos for gerrit jobs.
Change-Id: Ibd0b539dd0e68f0f420103a82733791baf382836
Reviewed-on: https://review.openstack.org/240
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2011-08-15 22:58:26 +00:00
James E. Blair
f252d95d5c Add cron job for closing pull requests.
Also move the launchpad sync cron into puppet.
Create config file for github pull close script.

This change depends on https://review.openstack.org/#change,224

Change-Id: I1b7ad599a6c7542614780ea0ce46a42a8995d15b
Reviewed-on: https://review.openstack.org/225
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2011-08-15 16:06:02 +00:00
James E. Blair
9b06e7fdc8 Add Gerrit configuration to puppet.
Change-Id: I26ebd80adb00ac5bf676533d5dd9359cbbe08075
2011-08-05 16:36:48 -07:00