aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-01-07 00:19:21 +0000
committerPascal Terjan <pterjan@mageia.org>2011-01-07 00:19:21 +0000
commita94a55631e23f9de2a4068330c63b96751434154 (patch)
tree0c883205fe89033a423a0b849bc340702be46b37 /modules/buildsystem
parentc64c7fadafbd0443c412663da878e8031ac93719 (diff)
downloadpuppet-a94a55631e23f9de2a4068330c63b96751434154.tar
puppet-a94a55631e23f9de2a4068330c63b96751434154.tar.gz
puppet-a94a55631e23f9de2a4068330c63b96751434154.tar.bz2
puppet-a94a55631e23f9de2a4068330c63b96751434154.tar.xz
puppet-a94a55631e23f9de2a4068330c63b96751434154.zip
Add config for the second youri (third one is dead!)
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/manifests/init.pp7
-rw-r--r--modules/buildsystem/templates/submit-queue.conf161
2 files changed, 168 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index ed9d70d7..f1230c00 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -141,6 +141,13 @@ class buildsystem {
require => File["/etc/youri"],
content => template("buildsystem/submit-todo.conf")
}
+
+ file { "/etc/youri/submit-queue.conf":
+ ensure => present,
+ mode => 644,
+ require => File["/etc/youri"],
+ content => template("buildsystem/submit-queue.conf")
+ }
}
define sshuser($homedir, $comment) {
diff --git a/modules/buildsystem/templates/submit-queue.conf b/modules/buildsystem/templates/submit-queue.conf
new file mode 100644
index 00000000..318cfe5a
--- /dev/null
+++ b/modules/buildsystem/templates/submit-queue.conf
@@ -0,0 +1,161 @@
+
+
+home: /home/schedbot
+
+# repository declaration
+repository:
+ class: Youri::Repository::Mageia_upload
+ options:
+ install_root: /distrib/bootstrap/distrib
+ upload_root: ${home}/uploads/
+ upload_state: queue
+ queue: queue
+ noarch: i586
+ svn: svn+ssh://svn.mageia.org/svn/packages/cauldron/
+ 1.0:
+ arch: i586 x86_64
+ cauldron:
+ arch: i586 x86_64
+
+# targets definition
+targets:
+ cauldron:
+ checks:
+ - version
+ - tag
+ - acl
+ - rpmlint
+ - recency
+ - queue_recency
+ actions:
+# - sign
+ - install
+ - link
+# - mail
+# - archive
+ - clean
+
+ 1.0:
+ checks:
+ - version
+ - tag
+ - acl
+ - rpmlint
+ - recency
+ - queue_recency
+ actions:
+# - sign
+ - install
+ - link
+# - mail
+# - archive
+ - clean
+
+# checks definition
+checks:
+ tag:
+ class: Youri::Submit::Check::Tag
+ options:
+ tags:
+ release: 'mga\d+'
+ # packager: '<\S+@mageia\.org>$'
+ distribution: '^Mageia'
+ vendor: '^Mageia.org$'
+
+ recency:
+ class: Youri::Submit::Check::Recency
+
+ queue_recency:
+ class: Youri::Submit::Check::Queue_recency
+
+ host:
+ class: Youri::Submit::Check::Host
+ options:
+ host_file: /etc/youri/host.conf
+
+ section:
+ class: Youri::Submit::Check::Section
+
+ rpmlint:
+ class: Youri::Submit::Check::Rpmlint
+ options:
+ config: /etc/rpmlint/config
+ results:
+ - buildprereq-use
+ - no-description-tag
+ - no-summary-tag
+ - non-standard-group
+ - non-xdg-migrated-menu
+ # it breaks dbus
+ #- patch-not-applied
+ - percent-in-conflicts
+ - percent-in-dependency
+ - percent-in-obsoletes
+ - percent-in-provides
+ - summary-ended-with-dot
+
+ svn:
+ class: Youri::Submit::Check::SVN
+
+ acl:
+ class: Youri::Submit::Check::ACL
+ options:
+ acl_file: /etc/youri/acl.conf
+
+ history:
+ class: Youri::Submit::Check::History
+
+ source:
+ class: Youri::Submit::Check::Source
+
+ precedence:
+ class: Youri::Submit::Check::Precedence
+ options:
+ target: cauldron
+
+ version:
+ class: Youri::Submit::Check::Version
+ options:
+ 1.0:
+ authorized_packages: none_package_authorized
+ authorized_sections: ^[a-z]+/(updates|testing|backports|backports_testing)$
+ authorized_arches: none
+ mode: freeze
+
+ cauldron:
+# <mrl> Prior freeze
+ authorized_sections: ^[a-z]+/(release|testing)$
+ authorized_arches: .*
+ mode: normal
+## <blino> Version freeze
+# authorized_packages: ^$
+# authorized_sections: ^main/testing|contrib/testing$
+# authorized_arches: ^$
+# authorized_users: ^blino|ennael|nvigier$
+# mode: version_freeze
+# <mrl> Freeze config
+# authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
+# authorized_packages: none_package_authorized
+# authorized_sections: ^restricted/release|main/testing|contrib/testing$
+# authorized_arches: none
+# authorized_users: ^blino|ennael|nvigier$
+# mode: freeze
+
+# actions definitions
+actions:
+ install:
+ class: Youri::Submit::Action::Install
+
+ markrelease:
+ class: Youri::Upload::Action::Markrelease
+
+ link:
+ class: Youri::Upload::Action::Link
+
+ archive:
+ class: Youri::Upload::Action::Archive
+
+ clean:
+ class: Youri::Upload::Action::Clean
+
+# vim:ft=yaml:et:sw=4