diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-09 15:01:12 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-09 15:01:12 +0000 |
commit | e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca (patch) | |
tree | e6fa8ff3ff25eadfe39aea5c57740a8250055264 /modules/buildsystem | |
parent | cfcfba74901f99fc55447292b5116b1bbd6f47ce (diff) | |
download | puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.tar puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.tar.gz puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.tar.bz2 puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.tar.xz puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.zip |
- rename iurt to buildsystem
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 38 | ||||
-rw-r--r-- | modules/buildsystem/templates/iurt.cauldron.conf | 30 |
2 files changed, 68 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp new file mode 100644 index 00000000..0cc24ed4 --- /dev/null +++ b/modules/buildsystem/manifests/init.pp @@ -0,0 +1,38 @@ +class buildsystem { + + class buildnode { + include iurt + } + + class iurt { + + $home_dir = "/home/buildbot/" + $build_login = "buildbot" + # build node common settings + # we could have the following skip list to use less space: + # '/(drakx-installer-binaries|drakx-installer-advertising|gfxboot|drakx-installer-stage2|mandriva-theme)/' + $package_list = ['task-bs-cluster-chroot', 'iurt'] + package { $package_list: + ensure => installed; + } + + file { "$home_dir/.iurt.cauldron.conf": + ensure => present, + owner => $build_login, + group => $build_login, + mode => 644, + content => template("iurt/iurt.cauldron.conf") + } + + group {"$build_login": + ensure => present, + } + + user {"$build_login": + ensure => present, + comment => "System user use to run build bots" + managehome => true, + shell => "/bin/bash", + } + } +} diff --git a/modules/buildsystem/templates/iurt.cauldron.conf b/modules/buildsystem/templates/iurt.cauldron.conf new file mode 100644 index 00000000..5a7f047e --- /dev/null +++ b/modules/buildsystem/templates/iurt.cauldron.conf @@ -0,0 +1,30 @@ +{ + supported_arch => [ 'i586', 'x86_64' ], + all_media => { 'main' => [ 'release' ], 'contrib' => [ 'release' ] }, + upload => 'schedbot@pkgsubmit:~/uploads/', + upload_queue => 'schedbot@pkgsubmit:~/uploads/queue/', + unwanted_packages => '^monotone-', + repository => '/mnt/BIG/dis/', + rsync_to => 'schedbot@pkgsubmit:/mnt/BIG/dis/uploads/build/', + log_url => 'http://pkgsubmit.mageia.org/queue/build/', + admin => 'mageia-sysadm@mageia.org', + iurt_root_command => '/home/buildbot/iurt-trunk/iurt_root_command', + packager => 'Iurt the rebuild bot <mageia-sysadm@mageia.org>', + sendmail => 0, + build_timeout => { + 'default' => 18000, + 'gcc' => 57600, + 'paraview' => 115200, + 'salome' => 57600, + 'itk' => 115200, + 'wrapitk' => 115200, + 'kernel-rt' => 57600, + 'kernel-xen' => 57600, + 'kernel-tmb' => 57600, + 'openoffice.org' => 345600, + 'openoffice.org64' => 345600, + 'openoffice.org-go-ooo' => 345600, + 'openoffice.org64-go-ooo' => 345600 + }, +} + |