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:
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user