Commit Graph

218 Commits

Author SHA1 Message Date
Jenkins
6280a7a74c Merge "Modify puppet repo to work with stackforge" 2012-03-21 07:23:40 +00:00
Andrew Hutchings
e53a05ac39 Add Jenkins job filler to puppet
Adds default Openstack jobs for a given project name into Jenkins

To envoke add a section as follows to your site manifest:

  class { "jenkins_jobs":
    site => "openstack",
    projects => ["project1", "project2"]
  }

Now using xml building blocks!

Change-Id: If4cacba91d3dc22207e53413543e5bcfcfb0b541
2012-03-20 15:40:01 +00:00
Devananda van der Veen
5405cc4f4d Adds tmpreaper to jenkins slave crontab.
Schedules tmpreaper to run daily at 1am, and delete files older than 1 days from /tmp.
Fixes bug 925774

Change-Id: Iff9383d020fa3ea0cbbe85d4ea0e5fe27ba6901e
2012-03-16 17:26:17 -07: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
James E. Blair
0993cd74ce Add jenkins user to template hosts
Change-Id: I3d284f149576c7b21d7e215b14eb1b28e3fa602b
2012-03-15 19:44:30 -07:00
James E. Blair
a4ac093a30 Don't do anything special for template hosts.
Remove cruft.

Change-Id: Id37056317f4002968fcb2ee912512b0526bac9bd
2012-03-15 10:30:38 -07: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
James E. Blair
28205b2f3a Test commit
Change-Id: Iff3f51ad08257311c1064b2c6a883e262546edaa
2012-02-28 16:24:18 -08:00
James E. Blair
7e41c15581 Update jenkins master config.
Add the required apache modules.
Add the jenkins archive key.
Make sure the jenkins repo is set up and apt-get update is run
before installing jenkins.

Change-Id: I503705d893246300e50f3b54da6114863dc8de93
2012-02-28 11:37:20 -08:00
James E. Blair
4ceea32697 Test commit.
Change-Id: Ifd9e52f801ab98c47ef5a804b1fb2ea43c817655
2012-02-27 20:19:57 -08:00
James E. Blair
beb6b93cb2 Install jdk on jenkins slaves
Change-Id: Id34cafceb82f549c44c8ff24eb49ec05f87d7186
2012-02-27 13:20:08 -08:00
Jenkins
97b146325f Merge "Poweroff a lost machine." 2012-02-23 15:57:18 +00:00
Monty Taylor
a87542db5b snmpd needs its config file to start.
Change-Id: I9fc32a7b06e55948cfb1f3f236dfb22297f3f0f6
2012-02-22 12:31:20 -08:00
Monty Taylor
d382a7a9f0 Adds packages needed for translations update job.
Change-Id: Ic35570b4a3fc04a78791d0ba4981d097373419dd
2012-02-17 15:15:17 -08:00
Monty Taylor
f1f42bf258 Make sure byobu doesn't run system-wide.
Change-Id: Ia4f2e0dfdeb5a48bf9faa458fc507a60bbbb7fe2
2012-02-16 11:35:13 -08:00
Andrew Hutchings
44f82013c4 Fix iptables for paste and planet
Add port 80 for paste and planet in iptables

Change-Id: I7677d484e37d0a0f06359ee43023f04518dfbaae
2012-02-16 09:03:46 -08:00
Monty Taylor
69255755e0 Add upstart script for versions information.
Change-Id: Ie060ab4ae75b21197d07db78dc3b86370fd0a493
2012-02-15 18:21:07 -08:00
Andrew Hutchings
5e094fb1a6 Add bzr to iptables
Adds bzr to jenkins iptables
Adds symlink for rules.v4 to rules

Change-Id: I058cccde7e39860655c3762ca06e2bd5d93f3a1c
2012-02-15 17:48:00 -08:00
James E. Blair
0054864c3b Poweroff a lost machine.
We don't have access to this machine anymore.  Power it off.

Change-Id: I1e4cec0228710a6cfd5fcf940437c946f683f32c
2012-02-14 10:26:55 -08:00
Jenkins
7526fad1c3 Merge "Remove the default apache site." 2012-02-13 19:53:12 +00:00
Jenkins
14c99a3bf6 Merge "Add support for LP: #nnnnnn bug format" 2012-02-13 19:52:50 +00:00
James E. Blair
209e177d41 Remove the default apache site.
The jenkins site config handles the default redirect.

Change-Id: I55d0a23737b76317e6a5fdfbbadb6ca7e9a0fbc3
2012-02-13 10:53:23 -08:00
James E. Blair
ce94def4f0 Add pip to jenkins master
Change-Id: I6282a04b366d36b6b8f1164d78b25df3890944e7
2012-02-11 15:18:05 -08:00
James E. Blair
ff5be394f7 Add libcloud to jenkins master
Change-Id: I022879e093f1edbd835d6d06780cfe97c53bcce4
2012-02-11 15:15:18 -08:00
Jenkins
9a83d6bd4e Merge "Added some todos for jenkins apache" 2012-02-11 23:06:57 +00:00
James E. Blair
1f9bfacd1c Fix jenkins apt list
Change-Id: Ia1ebee4c388109314c8b51d4fbb3de5a83a1c4f0
2012-02-11 10:35:06 -08:00
James E. Blair
ede8db2c79 Added some todos for jenkins apache
Change-Id: I4089cc42bd5f673b13d599c7dfe9255a21f36f47
2012-02-11 09:24:12 -08:00
James E. Blair
ad6bb5a4e6 Add .list extension to jenkins apt source.
Apparently needed:

Change-Id: I22c9d2c05ec41b5618667b7bb97a493c0ec87abc
N: Ignoring file 'jenkins' in directory '/etc/apt/sources.list.d/' as it has no filename extension
2012-02-11 09:04:14 -08:00
James E. Blair
28650332a8 Fix typos for jenkins master.
Change-Id: I17882b263fc6bfe592f707d757f0b07b119d560f
2012-02-11 08:58:20 -08:00
James E. Blair
d7b7c463d1 Add linux-headers-virtual to devstack hosts.
This is so that dkms modules can build.

Change-Id: I70e6ced8d89c0c4d005870925484ea6354b36ed9
2012-02-10 11:24:23 -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
5714e9453c Stop paste cronspam
Add Andrew to syslog alias
Add -q to git commit

Fixes bug #929055

Change-Id: I29a4aef4d4839aea3a5014cb9c8ea144b51d1935
2012-02-08 19:33:33 +00:00
Andrew Hutchings
546136ce52 Cleanup puppet modules
Make files notify services to restart when changed
Improve planet's cron, spit out a date/time and append instead of overwrite log

Change-Id: I0c2ee96c4aff5512a891c49b8b2df5c20c9cab44
2012-02-06 16:32:34 +00:00
Andrew Hutchings
b7331f88f3 Fix cron on planet
Fix issues with cron and log planet

Change-Id: Id7a8371776049396337d8ca0f9d3665453c65bbb
2012-02-03 19:34:08 +00:00
Andrew Hutchings
1e1708c736 Add missing openstack_server to planet
Change-Id: Ied93846659ae20fbd7d139e2a0c253ee64a74fff
2012-02-03 19:11:52 +00:00
Andrew Hutchings
c69186803a Fix git usage in the planet puppet module
Change-Id: Ia13cc44c219e53d905157ae6f4f2305d7b1115dd
2012-02-03 18:38:12 +00:00
Andrew Hutchings
950531a299 Add planet support
Adds planet module and planet.openstack.org site.

Change-Id: Id4d495889346e0a0d85d0fd05e40d451b04d21b1
Note: will not work with current openstack-planet git branch.  Update for that comming
2012-02-03 14:53:03 +00:00
Jenkins
c95166994d Merge "Update Andrew's SSH key" 2012-02-03 14:44:53 +00:00
James E. Blair
71de80a1aa Remove mercurial from oneiric slave def.
It's in the base jenkins slave def because it's needed
for the venv jobs now.

Change-Id: I589b21d88d889753a87188122c32dbdb9d8948d9
2012-02-03 20:34:03 +13:00
James E. Blair
efeb0e87b3 Fix: Add hg to jenkins slaves
Change-Id: I445401fcf1971ff86cb06a48bab5a3208e4893fb
2012-02-03 15:23:59 +13:00
James E. Blair
f1190fdee1 Add hg to jenkins slaves
Change-Id: I42adfe29abe382e283d77466b79f68f2ff821539
2012-02-03 15:21:39 +13:00
Andrew Hutchings
c0af9c5fb9 Update Andrew's SSH key
Updated key to meet CI requirements

Change-Id: I7b4b686d15f5de096a763a2211c8c14a769e1870
2012-02-02 20:28:10 +00:00
Andrew Hutchings
fb4fc7b770 Fix lodgeit cron
A '%' sign was not escaped correctly causing a cron error when triggering backups

Change-Id: Icd5f78d0a310520a979f24418c41755a5e91ca13
2012-02-02 12:38:49 +00:00
James E. Blair
6c779a5f83 Increase sshd threads for gerrit.
Based on the advice in this thread:
http://groups.google.com/group/repo-discuss/browse_thread/thread/b91491c185295a71

Size the sshd threads (which are also used to handle https git requests)
better.  Based on current trends, we peak at about 50% cpu usage
and 25% memory usage.  Double the number of threads here to try to
allow us to get closer to 100% cpu.

(Corresponding increase in db connections.)

Change-Id: Icde18233de01466b241ab28d38d2e98735108193
2012-02-02 14:29:12 +13:00
Jenkins
5df7b71c12 Merge "Add pandoc to slaves." 2012-02-01 16:48:45 +00:00
Andrew Hutchings
06e8179c7e Add backups to lodgeit
Creates a git repo in /var/backups/lodgeit_db
Adds a backup file per installation in the repo
Adds a daily cron to take the backup and commit it in the repo

Change-Id: I9b4a684485bb37f3ae83b5aa39015c9489c29db4
2012-02-01 15:12:45 +00:00
Andrew Hutchings
b0ae2fea97 Fix lodgeit used in puppet
It appears the official lodgeit was abandoned in a broken state (I can't get it to work)
This branch switches to a hg branch of lodgeit that works and removes the need for the db hacks in the process

Change-Id: Ic4860e61b26bbde9bac7d5767e94ce066d244f78
2012-02-01 11:13:13 +00:00
James E. Blair
3cebcc8742 Add pandoc to slaves.
Needed for bug 924507.

Change-Id: I552be22ac8850be9d67920ddc5968a7d8eb1da9e
2012-02-01 03:09:26 +00:00
Andrew Hutchings
e3166c9102 Add lodgeit to puppet
Will automatically install paste.drizzle.org and paste.openstack.org onto a server

Change-Id: Ia2c1e37892f3ae8e3d4034e38ddfaa01c6a92a54
2012-01-31 16:11:02 +00:00