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:
parent
0f5349336a
commit
64494b078a
@ -235,6 +235,11 @@ node /^ci-backup-.*\.openstack\.org$/ {
|
|||||||
# Jenkins slaves:
|
# Jenkins slaves:
|
||||||
#
|
#
|
||||||
|
|
||||||
|
node 'devstack-launch.slave.openstack.org' {
|
||||||
|
class { 'openstack_project::devstack_launch_slave':
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
node 'tx.slave.openstack.org' {
|
node 'tx.slave.openstack.org' {
|
||||||
class { 'openstack_project::translation_slave':
|
class { 'openstack_project::translation_slave':
|
||||||
transifex_username => 'openstackjenkins',
|
transifex_username => 'openstackjenkins',
|
||||||
|
15
modules/openstack_project/manifests/devstack_launch_slave.pp
Normal file
15
modules/openstack_project/manifests/devstack_launch_slave.pp
Normal 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'],
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,7 @@
|
|||||||
# == Class: openstack_project::slave
|
# == Class: openstack_project::slave
|
||||||
#
|
#
|
||||||
class openstack_project::slave (
|
class openstack_project::slave (
|
||||||
|
$bare = false,
|
||||||
$certname = $::fqdn,
|
$certname = $::fqdn,
|
||||||
$sysadmins = []
|
$sysadmins = []
|
||||||
) {
|
) {
|
||||||
@ -13,6 +14,7 @@ class openstack_project::slave (
|
|||||||
sysadmins => $sysadmins,
|
sysadmins => $sysadmins,
|
||||||
}
|
}
|
||||||
class { 'jenkins::slave':
|
class { 'jenkins::slave':
|
||||||
|
bare => $bare,
|
||||||
ssh_key => $openstack_project::jenkins_ssh_key,
|
ssh_key => $openstack_project::jenkins_ssh_key,
|
||||||
}
|
}
|
||||||
class { 'salt':
|
class { 'salt':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user