56 Commits

Author SHA1 Message Date
James E. Blair
856ca2b2e8 Use oneiric for stable/diablo.
For all python27 jobs, use oneiric slaves if the branch is
stable/diablo.  Python26 jobs are already on oneiric due to
lack of python 2.6 on anything later.

Change-Id: Id440e14721ccdd4225c5e5b170510c3c000a36b3
2012-08-02 13:04:00 -07:00
Monty Taylor
ec58d088fb Add openstack_project::server back.
Change-Id: I2167ef83d1b27677889f2d2f5833fab175f22549
2012-08-02 12:26:30 -05:00
Monty Taylor
126aaf94b9 Add script for jenkins slave bootstrap.
Change-Id: I7e94193bc81c3caabd77ca112952a98f15f3c434
2012-08-02 11:08:16 -05:00
Monty Taylor
383c023b15 Add support for initial project creation.
If replicate_local is set, this will ensure that /var/lib/git is created,
and that projects listed in the projects.config have repos there.

Additionally, it creates a new config file, projects.config which is a
yaml file listing all of the projects and various operational semantics about
them, such as whether or not they should have pull requests closed and whether
or not they track any remotes. This replaces remotes.config and github.config.

Moving forward, there is no reason to not have this script be able to
do github api calls to create the github repo if it's not there, set the
github project description, gerrit api calls to create the project in gerrit,
and initial project permissions templates.

Change-Id: I1ad803b0aa5f7386206d0c3f4cd858017242fe64
2012-08-02 15:49:02 +00:00
Jenkins
ff362d81a7 Merge "Set some parameters to more sensible defaults." 2012-08-02 15:39:47 +00:00
Jenkins
224264bedf Merge "Added an option to toggle replication choices." 2012-08-02 15:39:32 +00:00
Clark Boylan
2ba9ba7a4d Switch zuul to jenkins python jobs template.
Switch zuul jenkins jobs config to use the python jobs template. The
gate-zuul-pyflakes job has been kept though. Add zuul-docs job as well.
Configure the zuul layout to gate zuul on python26 and python27 jobs.
Also configured to run the zuul-coverage job and zuul-docs job post
merge.

Change-Id: Ib3500c361bca0e2c35fa9552b0aa98468d2f040f
2012-08-01 10:03:28 -07:00
Monty Taylor
ef3881d487 Set some parameters to more sensible defaults.
Also, moved depends for launchpad sync script to the launchpad sync
module, and put the ntp stuff into an ntp module.

Change-Id: I2568752493fefa305f9108a23da101d80a311552
2012-07-29 13:04:17 -05:00
Monty Taylor
0b921968d1 Added an option to toggle replication choices.
New options for github replication and local replication.

Change-Id: I06a6ca5347232ec80e26f6116742ab0007435ffe
2012-07-29 13:04:17 -05:00
Monty Taylor
d20c4523bf Broke launchpad user sync into its own class.
Additionally, the file installation of the scripts wasn't working,
so the sync script wasn't actually getting installed. This moves
the underlying scripts to be installed by the gerrit module,
because it owns /usr/local/gerrit/scripts, and then manages the
gerrit hooks which call those scripts in the openstack_project
class, since that's where the config choice to enable those
functions really should live.

Change-Id: I54fb9edd9fb0c634d8d9de4e57f9ddad6af63a99
2012-07-29 13:04:17 -05:00
Jenkins
ad9859efd6 Merge "Remove uses of remove_cron." 2012-07-29 12:49:56 +00:00
Jenkins
3a1eaf9365 Merge "Add support for puppet dashboard." 2012-07-29 12:49:26 +00:00
Jenkins
a2a516e914 Merge "Fix the zuul reloading on config changes." 2012-07-28 14:04:16 +00:00
Jenkins
d73d32a8f7 Merge "Modified gerrit to use MySQL and Apache modules." 2012-07-28 13:44:04 +00:00
Clark Boylan
81e77fc27a Fix the zuul reloading on config changes.
Zuul config files were broken out into a new module which introduced
cross module subscription dependencies. To make this work the module
doing the notify/subscribe must include the module the resource that
the subscription/notify is on. To fix this have config files notify
the zuul_reload exec.

Change-Id: I2d9e2236bc378d9dd92f811830dee6540b4cf4e2
2012-07-27 17:10:46 -07:00
Jenkins
ff1a2f5691 Merge "Gate Horizon on Selenium tests." 2012-07-27 22:23:11 +00:00
Monty Taylor
67ef0a4aa8 Remove uses of remove_cron.
Change-Id: Id95228ae662880176b54903ffbcb196fbead992f
2012-07-27 13:12:16 -05:00
Monty Taylor
5fb75ec390 Add support for puppet dashboard.
Change-Id: Ia63c0af6724f95417910215a82abaadd53ba0b49
2012-07-27 12:51:31 -05:00
Monty Taylor
c510a30e1e Modified gerrit to use MySQL and Apache modules.
Change-Id: I82ff3c46438f8db126fa6a881efa09c90b1906e4
2012-07-27 17:37:37 +00:00
Monty Taylor
98a0e386cd Fix a typo.
Change-Id: Ibe21c15f30371879880f4de288367099fc8752a6
2012-07-27 10:20:24 -05:00
Monty Taylor
b78acc61ce Remove bogus pre and post run commands.
Change-Id: I04ae522d41f324babd255c7153c0ab1e9db9c524
2012-07-27 09:48:02 -05:00
Monty Taylor
3fd190ed4e Move hiera calls into site.pp.
Secret info should be parameters to modules. It makes for easier testing.

Change-Id: I66034387094b2a24c6fae57fec3af1dae3dd1d3a
2012-07-26 18:59:08 -05:00
Clark Boylan
375fc3b2fe Gate Horizon on Selenium tests.
The Selenium test framework is working and tests are passing. Add these
tests as gate tests to the Horizon project.

Change-Id: I6ee8b9b46ed5268ffe62f842972b6760172dc075
2012-07-26 13:02:22 -07:00
James E. Blair
604cb4f6c4 Add cinder to gate.
Requires https://review.openstack.org/#/c/9746/.

Change-Id: I88a7280b7ff66f005006ce359c23c8919b6f8b1a
2012-07-25 12:09:43 -07:00
Monty Taylor
2805fed59f Fix the update_users cron job.
Change-Id: Icb546b9c48f2618e1b2269d82b34cc5588bc2624
2012-07-25 13:43:40 -05:00
James E. Blair
0d7b4a7b08 Upgrade production gerrit to include submitRecords.
Change-Id: I95e0e1a05c66bcbbfad9149b4e40553e2a8f14b9
2012-07-24 15:47:10 -07:00
Monty Taylor
0cb2c1760d Fix hostname for review-dev.openstack.org.
Change-Id: I297087554238854d983d1946bfdee80c2feedd6f
2012-07-24 15:47:49 -05:00
Jenkins
8a89b93217 Merge "Upgrade gerrit-dev to include submitRecords." 2012-07-24 19:34:42 +00:00
Jenkins
3ffc500842 Merge "Add framework for selenium tests on test slaves." 2012-07-24 18:37:45 +00:00
James E. Blair
0777a4afe3 Upgrade gerrit-dev to include submitRecords.
Change-Id: I677d23b5ce51eaac0642ce5f54213938b0bc6842
2012-07-24 11:16:54 -07:00
Clark Boylan
254bb0f488 Add framework for selenium tests on test slaves.
Fixes bug #996190

Add framework to run selenium tests on the test slaves. This includes
installing the firefox and Xvfb packages, wrapping Horizon selenium
tests with a script that creates an Xvfb X server, and running the
Horizon selenium tests as check tests. The framework assumes selenium
tests will use the WebDriver API and not need any other pieces of
selenium (No selenium server etc).

Change-Id: I4f4cc502276890d617b5baaadf5f8a6eae1ba1ff
2012-07-24 10:08:11 -07:00
Monty Taylor
a3953c334f Add root hiera config for the puppetmaster.
Change-Id: I4e9358f083a9a1938a7080610cc5964834889593
2012-07-24 11:27:09 -05:00
Monty Taylor
6cd001f3de Put in the master's puppet config.
Change-Id: I4dbeab7c3c2e61e51df6b7a1648feb7e3b23aea9
2012-07-24 11:26:15 -05:00
Monty Taylor
40471655d3 Add support for install puppet modules.
Change-Id: I0fb81d64daea389a564405c76773108eaeec6684
2012-07-24 10:52:31 -05:00
Monty Taylor
dbd4da09a7 Fix all of the gerrit module problems.
Change-Id: I46001fd677bc9a3634c9860ec07438c326e908e3
2012-07-24 00:28:04 -05:00
Monty Taylor
1966771caf Ensure puppet.conf is set up properly.
Change-Id: I367c4b0421596630aa1412eba575e87d8e9def19
2012-07-23 19:49:36 -05:00
Monty Taylor
15493f562e Fix errors found on dashboard for jenkins.
Change-Id: Iec0e8e45291786746866b066e4cc6dfcdfd4de8b
2012-07-23 19:32:21 -05:00
Monty Taylor
af498777ab Fixed a naming issue.
Change-Id: Ic753ceefd0bd8bd2f01889999eb6a1d6071420ba
2012-07-23 19:29:15 -05:00
Monty Taylor
b2bbd47eef Include openstack_project class to access members.
Change-Id: I4d04bd6cc248ff6b724a42fe872afadc080bb126
2012-07-23 19:22:19 -05:00
Monty Taylor
7b1c71197c Try to work around namespace issues.
Change-Id: Iec978ab62a838be83cc065a2d88cd3a32dc72805
2012-07-23 18:38:18 -05:00
Monty Taylor
a841e99c0e Removed unnecessary ::
Change-Id: I1ca84c36e0311850d409a9db4b4a8b40a9126273
2012-07-23 18:12:59 -05:00
Monty Taylor
0059cdd0e5 Fix some puppetmaster gotchas.
Need /usr/bin/test.
Rename openstack_project::jenkins_slave to openstack_project::slave to
deal with scoping issues.

Change-Id: Ia703cdd0407eef4afe4c6cf07263150699cc47c9
2012-07-23 18:05:35 -05:00
Monty Taylor
abd563b5e1 Control admin lists from hiera.
Change-Id: I9677484fa6a05353809a104c0756800ce56371fc
2012-07-23 17:38:22 -05:00
Monty Taylor
d0bb131da9 Fixed scoping problem for zuul module.
Change-Id: If414a7355832c2444bed82f228ff373080a1c11c
2012-07-23 17:31:26 -05:00
Monty Taylor
0bc0ae7d0c Add in root level scoping.
Change-Id: I6fcdf293f719aa3fa18a3c5b4f7d8d64059b6f9c
2012-07-23 17:24:44 -05:00
Monty Taylor
a1845d4c5e Fix naming github_user to github_username.
Change-Id: Ibe4aff29f4d5baa2733ad64c6a5dfe46ff85155e
2012-07-23 17:07:15 -05:00
Monty Taylor
53fa5a8604 Upgrade all of our hosts to latest puppet release.
Change-Id: I3a226e9d7d0c1e3288590d637532b5e5b897d780
2012-07-23 17:05:16 -05:00
Monty Taylor
5609c50cd5 Move OpenStack branding and launchpad integration.
Launchpad integration and the OpenStack branding files are really
more about the OpenStack specific install of Gerrit than they are
about any installation of gerrit. Both of these are moved to the
openstack_project module.

Change-Id: I8b281aa5cb751a8023c2101c45146a3aca5f90f3
2012-07-23 14:46:55 -05:00
Monty Taylor
1b61f7673b Split gerrit cron jobs out.
Change-Id: I53faafc4d692c3dc62fd3356fd39f6e2ce64a481
2012-07-23 11:42:18 -05:00
Monty Taylor
8f1adc171f Split github into its own module.
TODO: Add another script that sets the project description. Add the project
description to the config hash.

Change-Id: If4584b2a1e55e6eb912e1f557e31de216d49a516
2012-07-23 11:42:12 -05:00