25 Commits

Author SHA1 Message Date
James E. Blair
90ee709686 Install Zuul on stackforge
Change-Id: Ibcb77244b371b0cae4d167f4f50839d8ac33397c
2012-06-01 14:40:29 -07:00
Monty Taylor
063de412aa Make a pared-down slave for jclouds.
Change-Id: I4ca31201362516b85ce39287270d94428895b5c8
2012-06-01 09:02:36 -04:00
Andrew Hutchings
f1c7afa312 Move to sync with heat-api/heat on github
Change-Id: Id81af494394b08ef34a00820a68244ea9cc0436b
2012-05-22 15:14:07 +01:00
Andrew Hutchings
ab8c2a7ba7 Add parameters for scripts that talk to Gerrit
Not all gerrit installations are configured the same.  This adds parameters
to the gerrit sync script and expire script so that it can work from the
command line and cron on all servers.

Fixes bug #994201

Change-Id: Iac37e18aaf7a10fb5594be233e33b000eabed336
2012-05-17 15:16:29 +01:00
Andrew Hutchings
2f4f849dcb Add heat project to Stackforge
Change-Id: I6ad250761c724400ff48cae13509e5f770d14e0b
2012-05-17 11:25:11 +01:00
Andrew Hutchings
c3db5b210a Jenkins Job builder 2.0
This uses a python script with modules for parts of the XML.  The parameters for the projects are provided using YAML scripts.

It also includes a Jenkins API module to directly inject jobs into Jenkins without requiring a restart/reload as well as a memory of which jobs have been pushed to Jenkins.

It is currently configured to replace the original Jenkins Jobs in StackForge.

What it won't yet do:
1. Delete jobs (although it isn't far off being able to)
2. check-* jobs (need to modify the trigger_gerrit module to support that)

Documentation to follow

Fixes bug #995599

Change-Id: I2a67ee2d9e8f43cbced56425ef7f80dc6a30a814
2012-05-11 14:43:52 +01:00
Andrew Hutchings
e5b3600b5c Jenkins Jobs bug fixes
* Add auth_build internal option and set to true for gates (fixes bug #989148)
* Add upload_project option to tarball job and set to project by default (fixes bug #989855)
* Add support for ensure => disabled and ensure => absent (fixes bug #988319)

Change-Id: Id61deb4b50df70f38c18e7e9d2e8d6510805e11c
2012-05-02 15:07:59 +01:00
Andrew Hutchings
f18ab506c9 Fix Jenkins Job for Ceilometer
Doh!  I wrote this module I should know how to use it!

Change-Id: Iebf8adfc25114a954f843527914cab849935f74f
2012-05-01 16:06:32 +01:00
Andrew Hutchings
4c8d79582b Add Ceilometer to Stackforge
Adds close pull and merge gate Jenkins Job

Change-Id: Ia76ad6401ef5d75a8a98648de71a2e0b43747bad
2012-05-01 11:26:57 +01:00
Jenkins
18fc9542ce Merge "Make Jenkins Jobs more modular" 2012-04-25 16:56:03 +00:00
James E. Blair
695ee3f4dc Make jenkins vhost config more like gerrit.
Take full filename parameters for SSL files, to better accomodate
dev sites.

Rename apache.conf.erb to jenkins.vhost.erb, because it's actually
a vhost config, not the apache.conf (which is a different file).

Change-Id: I0cf9857fd8860c199081f50ead7218b09955cfab
2012-04-24 11:05:43 -07:00
Andrew Hutchings
04bf54ac40 Make Jenkins Jobs more modular
Each job has a manifest in the jenkins_jobs/manifests/jobs directory
Jobs are grouped in python_jobs and generic_jobs
The job groups or individual jobs can be added to a site manifest

Also fixes bad XML output, python27 job and bug 987428

Change-Id: I1ebc889cee08b080deb6ba46aee69ab2ae0bb6b6
2012-04-24 15:19:59 +01: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
Monty Taylor
5418fce39b Split the common top-level code into a file.
I got tired of forgetting to carry changes over in to stackforge.pp.
I know we're going to do a large re-factor of all of this, but for the
moment, the classes specific to our servers apply to both openstack and
stackforge.

Change-Id: I1788b5bf12e8dcf52bb81517b17dc2798d242c86
2012-04-08 10:08:55 -07:00
Monty Taylor
c51538102d Move email addresses of sysadmins to paramater.
When we put these all in by default, then people testing things or people
who aren't even us get the mail on their systems configured to email us.
Change-Id: Ib9d4160e0c81151bf040422c89621bc0fcefcd66
2012-04-08 09:54:29 -07: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
Jenkins
52271d6546 Merge "Refactor Dynamic tcp ports." 2012-03-28 16:07:12 +00:00
Jenkins
94dbbfa8a3 Merge "Remove popularity-contest" 2012-03-28 03:52:25 +00:00
Andrew Hutchings
3035afadac Remove popularity-contest
Make sure popularity-contest isn't installed and cronspamming us on HP Cloud instances

Change-Id: I7e6480d72c71b3595f2592bd3f7086e524f63879
2012-03-27 12:03:40 +01:00
Monty Taylor
3f10f48f6f Refactor Dynamic tcp ports.
Change-Id: Id53f9960f0b7b5c27f3595fc6722a2a110aa88db
2012-03-26 09:13:31 -07:00
Andrew Hutchings
2054d79b4e Add stackforge/reddwarf
Add to gerrit and add Jenkins job filler

Change-Id: If73acdc4731b59ce8adb414b8cac688b69ecf129
2012-03-26 12:45:31 +01:00
Devananda van der Veen
3e65b76181 Adding ssh access for myself (devananda)
Change-Id: I3f4cb3099220d99d0fdfdfdfcfe25ac74aa2cf86
2012-03-22 09:24:17 -07: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