Add a dedicated slave to launch devstack nodes.

So that we can take this load off of the jenkins master.

Change-Id: Id66efede75fab9977013e69f3415a53dc239b0ce
Reviewed-on: https://review.openstack.org/22379
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2013-02-19 15:56:22 -08:00 committed by Jenkins
parent 0f5349336a
commit 64494b078a
3 changed files with 22 additions and 0 deletions

View File

@ -235,6 +235,11 @@ node /^ci-backup-.*\.openstack\.org$/ {
# Jenkins slaves:
#
node 'devstack-launch.slave.openstack.org' {
class { 'openstack_project::devstack_launch_slave':
}
}
node 'tx.slave.openstack.org' {
class { 'openstack_project::translation_slave':
transifex_username => 'openstackjenkins',

View File

@ -0,0 +1,15 @@
# == Class: openstack_project::devstack_launch_slave
#
class openstack_project::devstack_launch_slave (
) {
class { 'openstack_project::slave':
bare => true,
}
package { ['python-novaclient', 'statsd', 'paramiko']:
ensure => latest,
provider => pip,
require => Class['pip'],
}
}

View File

@ -1,6 +1,7 @@
# == Class: openstack_project::slave
#
class openstack_project::slave (
$bare = false,
$certname = $::fqdn,
$sysadmins = []
) {
@ -13,6 +14,7 @@ class openstack_project::slave (
sysadmins => $sysadmins,
}
class { 'jenkins::slave':
bare => $bare,
ssh_key => $openstack_project::jenkins_ssh_key,
}
class { 'salt':