00d9391958
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
17 lines
439 B
Puppet
17 lines
439 B
Puppet
# == Class: openstack_project::dev_slave_template
|
|
#
|
|
class openstack_project::dev_slave_template (
|
|
$install_users = true,
|
|
$ssh_key = $openstack_project::jenkins_dev_ssh_key
|
|
) inherits openstack_project {
|
|
class { 'openstack_project::template':
|
|
iptables_public_tcp_ports => [],
|
|
install_users => $install_users,
|
|
}
|
|
class { 'jenkins::slave':
|
|
ssh_key => $ssh_key,
|
|
sudo => true,
|
|
bare => true,
|
|
}
|
|
}
|