aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2012-05-27 17:44:40 +0000
committerThomas Backlund <tmb@mageia.org>2012-05-27 17:44:40 +0000
commit1f22ceb00c64a376d75c1e71c565cad236c9c9fa (patch)
tree4acbbea13f07ee9e99e7c378892359633aa31833 /modules/buildsystem/templates
parent2f228a54d0e9c22a0b98c9f50cfc6b16d90120a1 (diff)
downloadpuppet-1f22ceb00c64a376d75c1e71c565cad236c9c9fa.tar
puppet-1f22ceb00c64a376d75c1e71c565cad236c9c9fa.tar.gz
puppet-1f22ceb00c64a376d75c1e71c565cad236c9c9fa.tar.bz2
puppet-1f22ceb00c64a376d75c1e71c565cad236c9c9fa.tar.xz
puppet-1f22ceb00c64a376d75c1e71c565cad236c9c9fa.zip
buildsystem: add support for mga 2
Diffstat (limited to 'modules/buildsystem/templates')
-rw-r--r--modules/buildsystem/templates/iurt/2.conf23
-rw-r--r--modules/buildsystem/templates/mgarepo.conf14
-rw-r--r--modules/buildsystem/templates/youri/submit-todo.conf26
-rw-r--r--modules/buildsystem/templates/youri/submit-upload.conf36
4 files changed, 97 insertions, 2 deletions
diff --git a/modules/buildsystem/templates/iurt/2.conf b/modules/buildsystem/templates/iurt/2.conf
new file mode 100644
index 00000000..a37f336c
--- /dev/null
+++ b/modules/buildsystem/templates/iurt/2.conf
@@ -0,0 +1,23 @@
+{
+ supported_arch => [ 'i586', 'x86_64' ],
+ all_media => { 'core' => [ 'release' ], 'nonfree' => [ 'release' ], 'tainted' => [ 'release' ] },
+ base_media => [ 'core/release' ],
+ upload => '<%= build_login %>@pkgsubmit:~/uploads/',
+ upload_queue => '<%= build_login %>@pkgsubmit:~/uploads/queue/',
+ unwanted_packages => '^monotone-',
+ repository => 'http://repository.<%= domain %>/distrib/',
+ log_url => 'http://pkgsubmit.<%= domain %>/queue/build/',
+ admin => 'mageia-sysadm@mageia.org',
+ 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,
+ 'libreoffice' => 345600
+ },
+}
+
diff --git a/modules/buildsystem/templates/mgarepo.conf b/modules/buildsystem/templates/mgarepo.conf
index c6969c08..b3ce20c7 100644
--- a/modules/buildsystem/templates/mgarepo.conf
+++ b/modules/buildsystem/templates/mgarepo.conf
@@ -47,6 +47,11 @@ target = <%= sched_home_dir %>/repsys/srpms
allowed = svn://svn.<%= domain %>/svn/packages/updates/1
rpm-macros = global 1
+[submit 2]
+target = <%= sched_home_dir %>/repsys/srpms
+allowed = svn://svn.<%= domain %>/svn/packages/updates/2
+rpm-macros = global 2
+
[submit infra_1]
target = <%= sched_home_dir %>/repsys/srpms
allowed = svn://svn.mageia.org/svn/packages/
@@ -61,9 +66,9 @@ vendor = Mageia.Org
_real_vendor = mageia
[macros cauldron]
-distro_release = 2
+distro_release = 3
# 100 * major + minor
-mgaversion = 200
+mgaversion = 300
mageia_branch = cauldron
[macros 1]
@@ -71,6 +76,11 @@ distro_release = 1
# 100 * major + minor
mgaversion = 100
+[macros 2]
+distro_release = 2
+# 100 * major + minor
+mgaversion = 200
+
[helper]
create-srpm = /usr/share/repsys/create-srpm
upload-srpm = /usr/local/bin/mga-youri-submit
diff --git a/modules/buildsystem/templates/youri/submit-todo.conf b/modules/buildsystem/templates/youri/submit-todo.conf
index 75347608..a4467c76 100644
--- a/modules/buildsystem/templates/youri/submit-todo.conf
+++ b/modules/buildsystem/templates/youri/submit-todo.conf
@@ -14,6 +14,8 @@ repository:
queue: todo
noarch: i586
svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/
+ 2:
+ arch: i586 x86_64
1:
arch: i586 x86_64
infra_1:
@@ -59,6 +61,24 @@ targets:
- rpminfo
- ulri
+ 2:
+ checks:
+ - source
+ - version
+ #- svn
+ - tag
+ - acl
+ - host
+ #- section
+ - rpmlint
+ - recency
+ #- history
+ - queue_recency
+ actions:
+ - send
+ - rpminfo
+ - ulri
+
infra_1:
checks:
- source
@@ -139,6 +159,12 @@ checks:
version:
class: Youri::Submit::Check::Version
options:
+ 2:
+ authorized_packages: none_package_authorized
+ authorized_sections: ^(core|nonfree|tainted)/(updates_testing|backports|backports_testing)$
+ authorized_arches: none
+ mode: freeze
+
1:
authorized_packages: none_package_authorized
authorized_sections: ^(core|nonfree|tainted)/(updates_testing|backports|backports_testing)$
diff --git a/modules/buildsystem/templates/youri/submit-upload.conf b/modules/buildsystem/templates/youri/submit-upload.conf
index 93195369..cbb74f96 100644
--- a/modules/buildsystem/templates/youri/submit-upload.conf
+++ b/modules/buildsystem/templates/youri/submit-upload.conf
@@ -16,6 +16,8 @@ repository:
queue: queue
noarch: i586
svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/
+ 2:
+ arch: i586 x86_64
1:
arch: i586 x86_64
infra_1:
@@ -83,6 +85,34 @@ targets:
- clean_rpmsrate
- mirror
+ 2:
+ checks:
+ - version
+ - tag
+ - acl
+ - rpmlint
+ - recency
+ actions:
+# - markrelease
+ - sign
+ - install
+ - link
+# - unpack_release_notes
+# - unpack_gfxboot_theme
+# - unpack_meta_task
+# - unpack_installer_images
+# - unpack_installer_stage2
+# - unpack_installer_advertising
+# - unpack_installer_rescue
+# - dkms_module_info
+ - archive
+ - mail
+# - maintdb
+ posts:
+ - genhdlist2
+ - clean_rpmsrate
+ - mirror
+
infra_1:
checks:
- version
@@ -177,6 +207,12 @@ checks:
version:
class: Youri::Submit::Check::Version
options:
+ 2:
+ authorized_packages: none_package_authorized
+ authorized_sections: ^(debug/)?(core|nonfree|tainted)/(updates_testing|backports_testing)$
+ authorized_arches: none
+ mode: freeze
+
1:
authorized_packages: none_package_authorized
authorized_sections: ^(debug/)?(core|nonfree|tainted)/(updates_testing|backports_testing)$