[Mageia-sysadm] [682] Add config for the second youri (third one is dead!)

root at mageia.org root at mageia.org
Fri Jan 7 01:19:21 CET 2011


Revision: 682
Author:   pterjan
Date:     2011-01-07 01:19:21 +0100 (Fri, 07 Jan 2011)
Log Message:
-----------
Add config for the second youri (third one is dead!)

Modified Paths:
--------------
    puppet/modules/buildsystem/manifests/init.pp

Added Paths:
-----------
    puppet/modules/buildsystem/templates/submit-queue.conf

Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp	2011-01-06 20:58:00 UTC (rev 681)
+++ puppet/modules/buildsystem/manifests/init.pp	2011-01-07 00:19:21 UTC (rev 682)
@@ -141,6 +141,13 @@
             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) {

Added: puppet/modules/buildsystem/templates/submit-queue.conf
===================================================================
--- puppet/modules/buildsystem/templates/submit-queue.conf	                        (rev 0)
+++ puppet/modules/buildsystem/templates/submit-queue.conf	2011-01-07 00:19:21 UTC (rev 682)
@@ -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+ 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: ^[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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110107/74fb1450/attachment.html>


More information about the Mageia-sysadm mailing list