[Mageia-sysadm] [543] initial youri submit-todo conf
root at mageia.org
root at mageia.org
Wed Dec 8 08:33:19 CET 2010
Revision: 543
Author: blino
Date: 2010-12-08 08:33:18 +0100 (Wed, 08 Dec 2010)
Log Message:
-----------
initial youri submit-todo conf
Modified Paths:
--------------
puppet/modules/buildsystem/manifests/init.pp
Added Paths:
-----------
puppet/modules/buildsystem/templates/submit-todo.conf
Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp 2010-12-08 02:56:19 UTC (rev 542)
+++ puppet/modules/buildsystem/manifests/init.pp 2010-12-08 07:33:18 UTC (rev 543)
@@ -128,6 +128,18 @@
mode => 440,
content => template("buildsystem/sudoers.youri")
}
+
+ file { "/etc/youri":
+ ensure => "directory",
+ require => File["/etc/youri"],
+ }
+
+ file { "/etc/youri/submit-todo.conf":
+ ensure => present,
+ mode => 644,
+ require => File["/etc/youri"],
+ content => template("buildsystem/submit-todo.conf")
+ }
}
define sshuser($homedir, $comment) {
Added: puppet/modules/buildsystem/templates/submit-todo.conf
===================================================================
--- puppet/modules/buildsystem/templates/submit-todo.conf (rev 0)
+++ puppet/modules/buildsystem/templates/submit-todo.conf 2010-12-08 07:33:18 UTC (rev 543)
@@ -0,0 +1,163 @@
+home: <%= sched_home_dir %>
+
+# repository declaration
+repository:
+ class: Youri::Repository::Mandriva_upload
+ options:
+ install_root: /mnt/BIG/dis/
+ upload_root: ${home}/uploads/
+ upload_state: todo done queue
+ queue: todo
+ noarch: i586
+ svn: svn+ssh://svn.mageia.org/svn/packages/cauldron/
+ 1.0:
+ arch: i586 x86_64
+ cauldron:
+ arch: i586 x86_64 sparc sparcv9 ppc
+
+# targets definition
+targets:
+ cauldron:
+ checks:
+ - source
+ - version
+ - svn
+ - tag
+ - acl
+ - host
+ - section
+ - rpmlint
+ - recency
+ #- history
+ - queue_recency
+ actions:
+ - send
+ - rpminfo
+
+ 1.0:
+ checks:
+ - source
+ - version
+ - svn
+ - tag
+ - acl
+ - host
+ - section
+ - rpmlint
+ - recency
+ #- history
+ - queue_recency
+ actions:
+ - send
+ - rpminfo
+
+# checks definition
+checks:
+ tag:
+ class: Youri::Submit::Check::Tag
+ options:
+ tags:
+ release: '(mnb\d+|mga..\..)$'
+ packager: '<\S+ at 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: main/testing|main/backports|contrib/testing|contrib/updates|contrib/backports|non-free/testing|non-free/updates|non-free/backports
+ 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:
+ send:
+ class: Youri::Submit::Action::Send
+ options:
+ user: <%= sched_login %>
+ keep_svn_release: yes
+ uphost: pkgsubmit.mageia.org
+ root: ${home}/uploads
+ ssh_key: ${home}/.ssh/id_rsa
+
+ rpminfo:
+ class: Youri::Submit::Action::Rpminfo
+ options:
+ user: <%= sched_login %>
+ uphost: pkgsubmit.mageia.org
+ root: ${home}/uploads
+ ssh_key: ${home}/.ssh/id_rsa
+
+# vim:ft=yaml:et:sw=4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101208/b04328a7/attachment.html>
More information about the Mageia-sysadm
mailing list