387 Commits

Author SHA1 Message Date
Jenkins
3d625209dc Merge "Fix etherpad lite's use of git." 2012-06-06 20:47:33 +00:00
Jenkins
e0427b7845 Merge "Fix Etherpad Lite log rotations." 2012-06-06 20:47:16 +00:00
Clark Boylan
e01b045197 Fix etherpad lite's use of git.
Before this commit etherpad lite would run a git pull or clone
every time puppet was run. Make that behavior toggleable. Now
etherpad lite will only clone and checkout the branch specified.
This makes puppet less chatty to upstream.

Also, fix a quoting issue in etherpad lite's mysql manifest. The
eplite user's password was being reset each time puppet ran due to
having single quotes around backticks in the unless clause.

Change-Id: I74418ebaba82902906d04f18386de6f6bd6259bb
2012-06-06 20:31:18 +00:00
James E. Blair
d68c6987a3 Install mailman apache config.
Also includes default index.html file which needs to be customized.

Change-Id: Idd2d03a95b8bfaba42d94701dc5a5ced204a1c65
2012-06-06 12:08:25 -07:00
James E. Blair
33f0963048 Fix gerrit group permissions.
review.openstack.org will restart on every puppet run otherwise.

Change-Id: I999f279dec016f201390d47ab6f2ca3d412c86eb
2012-06-06 10:06:46 -07:00
Clark Boylan
be168e51b6 Fix Etherpad Lite log rotations.
Etherpad Lite does not give up its log files sanely. Instead
according to their bug tracker one should use logrotate's
copytruncate option. So we will use copytruncate.

Change-Id: Ic76d215bf35f3aa64ca5764512debb5cdcfca60e
2012-06-06 17:04:09 +00:00
Jenkins
b9eb2151a3 Merge "Use unattended upgrades." 2012-06-06 16:55:01 +00:00
James E. Blair
ae0f98e0cd Use unattended upgrades.
Stop using latest for packages installed by puppet.  This way,
all system packages get updated, not just some random ones.

The unattended-upgrades config will email root.  It is configured
for openstack servers and jenkins slaves, but not template hosts
so that it doesn't interfere with spin-up.

Also, fix some bits in the gerrit module that were causing
continuous restarts on gerrit-dev.

Install emacs.

Change-Id: I51c9083ccd3669f284fce4b50c36a37a0cac92d8
2012-06-05 22:59:46 +00:00
James E. Blair
a186a18f0a Don't use 'latest' for jenkins.
Suspect that's causing many jenkins restarts as new
packages are frequently updated.

Change-Id: I981ee67951512c79006fa9aa04a7c0ef3bf51748
2012-06-05 14:56:24 -07:00
James E. Blair
88c4a035ba Fix typo
Change-Id: I6f436fe03a5ab621078c7bd17e010fa5aae529c4
2012-06-05 10:21:23 -07:00
Jenkins
a82c95c9ff Merge "Switch all jobs to Zuul." 2012-06-05 17:16:01 +00:00
Jenkins
8e33d65b55 Merge "Puppet ethpad-lite DB backups." 2012-06-05 15:06:53 +00:00
Monty Taylor
afbb866bef Sourceforge downloads have a ?download at the end.
Change-Id: Ic85233ae6ac9176b476267b3526d234b498cfa94
2012-06-05 10:50:23 -04:00
Jenkins
67f7548cad Merge "Revert "Temporarily disable OpenStack PyPi"" 2012-06-05 14:43:36 +00:00
Jenkins
e0c303849c Merge "Use pip cache instead of full mirror." 2012-06-04 22:55:41 +00:00
James E. Blair
8d30a8d029 Add /usr/local/jenkins.
Change-Id: I8f03a80a7a8bf3be4a370ce019ea397bfb855bce
2012-06-04 15:47:22 -07:00
Clark Boylan
7b299b2af1 Puppet ethpad-lite DB backups.
Puppet will now add a cron job and configure logrotate to backup
etherpad-lite's MySQL DB daily and keep a months worth of backups.
These are the defaults and are slightly configurable through the
etherpad_lite::backup class.

Also configure log rotation for etherpad-lite's error.log and
access.log.

Change-Id: I30e0a4c8ee852e6621ee74744968d85696658608
2012-06-04 21:56:46 +00:00
James E. Blair
9afce8412b Add slave scripts to master.
So the devstack-gate job can call gerrit-git-prep.

Change-Id: I88673effdb6b8fe69497c269259e802e12f8ccd5
2012-06-04 13:51:36 -07:00
James E. Blair
32eb3deba0 Switch all jobs to Zuul.
Change-Id: I8b15bec5e3e936e4a698737cf86354dd91a7850c
2012-06-04 13:12:33 -07:00
Monty Taylor
073811dada Revert "Temporarily disable OpenStack PyPi"
This should re-enable pypi.openstack.org - which at this point should have every package we want.

This reverts commit 4369225cf91c20ea3b33d2b10628d57b60a96f0d
2012-06-04 18:31:49 +00:00
Monty Taylor
008fb47583 Use pip cache instead of full mirror.
Change-Id: I14ae08eb6c5a402f26de6c20234ac434f8f4b2c9
2012-06-04 12:06:26 -04:00
Jenkins
3f6941cd87 Merge "Install Zuul on stackforge" 2012-06-04 15:21:51 +00:00
James E. Blair
b27d812340 Switch openstack-ci-puppet to zuul.
Change-Id: I83454ac4e337550b01a92b607c0a2fbc549596c3
2012-06-01 16:27:37 -07:00
James E. Blair
d4ce932212 Add openstack-ci-puppet to job filler.
Added as gerrit trigger, to help test trigger->zuul migration.

Change-Id: I8b4a4022fe659fe8ac98558ad0a806a403c029aa
2012-06-01 15:43:38 -07:00
James E. Blair
0f0846396b Add gerrit logger to zuul
Change-Id: Ia7f1282efc6cc6b5efde9e9cce98d28b54633c9f
2012-06-01 15:03:30 -07:00
James E. Blair
90ee709686 Install Zuul on stackforge
Change-Id: Ibcb77244b371b0cae4d167f4f50839d8ac33397c
2012-06-01 14:40:29 -07:00
Jenkins
9ec6094b9e Merge "Use meta-jobs." 2012-06-01 20:10:29 +00:00
Jenkins
74d69a9bce Merge "Add post-merge queue." 2012-06-01 20:10:18 +00:00
Jenkins
a6c7e56ba1 Merge "Make a pared-down slave for jclouds." 2012-06-01 19:21:35 +00:00
James E. Blair
6abc773278 Use meta-jobs.
Needs these changes to be installed and running first:
  https://review.openstack.org/#/c/8052/
  https://review.openstack.org/#/c/8053/

Change-Id: Ic243d148797f1b27d3c95282d1a1347a57fbbe50
2012-06-01 11:39:08 -07:00
James E. Blair
181e49dcb6 Add post-merge queue.
Make gerrit-package a post-merge job.

Change-Id: Iac3b62a3e81a28465baa16bfbc99e4bc9cb90446
2012-06-01 11:14:32 -07:00
Monty Taylor
1660e2757a Add first stab at pip-cache to pypi-mirror.
Change-Id: I54a671ebddd523d9d22eec5e0a3f03fae8faa4f1
2012-06-01 13:27:41 -04:00
Jenkins
d30f3cbd8b Merge "Update eplite module for new version of eplite." 2012-06-01 15:58:09 +00:00
Andrew Hutchings
e9a1442b6e Disable scm when gerrit-git-prep in use
Don't use github scm when using gerrit-git-prep
Will require me manually going in and clearing workspaces

Fixes #1006636

Change-Id: If03633d2d37ad3219f81eb5e75649b4ccfa1a57c
2012-06-01 16:20:04 +01:00
Monty Taylor
063de412aa Make a pared-down slave for jclouds.
Change-Id: I4ca31201362516b85ce39287270d94428895b5c8
2012-06-01 09:02:36 -04:00
Andrew Hutchings
4369225cf9 Temporarily disable OpenStack PyPi
It appears to have several broken packages which in-turn are breaking tests

Change-Id: If6d366d782259dc37d4423c08797f28a0f2de1c1
2012-06-01 11:13:47 +01:00
Clark Boylan
04dad8bf96 Update eplite module for new version of eplite.
Etherpad lite has changed their source tree slightly. This has
required a few updates to the etherpad lite puppet module. The
custom pad.js needs to go in a different directory and the upstart
conf file needs a couple updated paths.

In addition to the fixes a couple things have been cleaned up. Now
define an etherpadlite.openstack.org node in site.pp and copy SSL
certs from /root/secret-files.

Change-Id: I312b419aa98212b6db68232c672bc4d75f23777f
2012-05-31 23:16:57 +00:00
James E. Blair
fdb8980657 Switch gerrit repo to zuul.
Change-Id: I22a6de6b91d78e15c5e6d17c0e34ecb80218303b
2012-05-31 14:41:23 -07:00
James E. Blair
03cf63e436 Set up Zuul init scripts.
Reload Zuul on changes to config files.

Change-Id: I7719a72b8d727490902d1226bfe1637c3f84d6d7
2012-05-31 20:56:35 +00:00
Jenkins
742e23f5ba Merge "Add pypi-mirror to jobs config." 2012-05-31 17:34:50 +00:00
James E. Blair
6a3d18e233 Add zuul logging config.
Change-Id: Ie63267dd28ac84ffd8ba60518e296faba0451d46
2012-05-31 10:16:51 -07:00
Monty Taylor
1dd5d42708 Add pypi-mirror to jobs config.
Change-Id: I722e5cbd2446c0837364392e0c5c08a444c2c75f
2012-05-31 10:15:30 -07:00
Jenkins
ef7003f931 Merge "Add support for maven jobs." 2012-05-31 14:32:40 +00:00
James E. Blair
ae3bfec2f6 Enable nose xunit.
Always use the nose xunit plugin when running tox.

Change-Id: I1c5acae7776069452a3773f906f630c3901758d6
2012-05-30 17:33:55 -07:00
James E. Blair
ef9449a4eb Allow check jobs to run in parallel.
Change-Id: Iad49afd3910d072691b3aabed6fc1078efcd5f86
2012-05-30 16:39:27 -07:00
James E. Blair
1db21187dd Fix typo in gerrit-git-prep.
Print the triggering URL.

Change-Id: Id257518e91c6212c971306f2c472fb36b128583a
2012-05-30 13:09:35 -07:00
Monty Taylor
018bb1c288 Add support for maven jobs.
Add a project module type with some special case rules so that
the general case does not have to add one to its yaml files.

Change-Id: Id110e79c34fa3982275f549d017adb03a1faf473
2012-05-30 15:06:44 -04:00
James E. Blair
55570cf7e6 Update zuul job params
Change-Id: I1563e429d10b5bbcb8a742a3bec664465ccbdbb9
2012-05-30 11:18:43 -07:00
James E. Blair
2261dd9fa2 Simplify dependent changes in gerrit-git-prep.
Now if more than one change is merged, it expects them all to be
in the variable GERRIT_CHANGES, and GERRIT_REFSPEC is ignored.

Change-Id: I717057c728c3c178ea3d15b7d1315c086e982484
2012-05-30 11:18:43 -07:00
Andrew Hutchings
35233deef5 Switch stackforge to oneiric
Turns out Precise doesn't have Python 2.6

Change-Id: I309c3e588cad1c6dba955c3a71b28100be6a21b5
2012-05-30 18:57:06 +01:00