Add jenkins dev slaves.

Allow them to use an ssh key distinct from production.
Clean up unused slave classes.
Use dedicated keys on dev slaves (do this in prod in the future, but it's a
breaking change).
Add a dev_slave_template class for devstack-gate to use.
Remove devstack-gate deps from jenkins master (they're on devstack-launch
now).
Clean up unneeded remove statements for glance creds.
Tidy up some permissions on files where they weren't specified before.

Change-Id: I02cef1ee3951c5780084118073770521bebb9eda
Reviewed-on: https://review.openstack.org/29319
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair
2013-05-15 16:03:05 -07:00
committed by Jenkins
parent 52691a9db4
commit 00d9391958
7 changed files with 101 additions and 121 deletions

View File

@@ -3,6 +3,7 @@
class openstack_project::slave (
$bare = false,
$certname = $::fqdn,
$ssh_key = '',
$sysadmins = []
) {
include openstack_project
@@ -15,9 +16,17 @@ class openstack_project::slave (
}
class { 'jenkins::slave':
bare => $bare,
ssh_key => $openstack_project::jenkins_ssh_key,
ssh_key => $ssh_key,
}
class { 'salt':
salt_master => 'ci-puppetmaster.openstack.org',
}
include jenkins::cgroups
include ulimit
ulimit::conf { 'limit_jenkins_procs':
limit_domain => 'jenkins',
limit_type => 'hard',
limit_item => 'nproc',
limit_value => '256'
}
}