aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2019-06-28 18:30:42 +0300
committerThomas Backlund <tmb@mageia.org>2019-06-28 18:30:42 +0300
commiteec06015ab64fe297d7eda27192e2c24b1eb9c39 (patch)
treead789254b5e2b7ef15a6ad7574168664a134c48a /deployment
parentfac07415205044bcf14f649dd1a6107c9dcdf225 (diff)
downloadpuppet-eec06015ab64fe297d7eda27192e2c24b1eb9c39.tar
puppet-eec06015ab64fe297d7eda27192e2c24b1eb9c39.tar.gz
puppet-eec06015ab64fe297d7eda27192e2c24b1eb9c39.tar.bz2
puppet-eec06015ab64fe297d7eda27192e2c24b1eb9c39.tar.xz
puppet-eec06015ab64fe297d7eda27192e2c24b1eb9c39.zip
add configs for mga7
Diffstat (limited to 'deployment')
-rw-r--r--deployment/mga_buildsystem/manifests/config.pp95
1 files changed, 93 insertions, 2 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp
index 1c9407f6..a12a0c39 100644
--- a/deployment/mga_buildsystem/manifests/config.pp
+++ b/deployment/mga_buildsystem/manifests/config.pp
@@ -264,7 +264,29 @@ class mga_buildsystem::config {
'mirror',
],
}
-
+
+ $mga7_youri_upload_targets = {
+ 'checks' => [
+ 'version',
+ 'tag',
+ 'acl',
+ 'rpmlint',
+ 'recency',
+ ],
+ 'actions' => [
+ 'sign',
+ 'install',
+ 'link',
+ 'archive',
+ 'mail',
+ ],
+ 'posts' => [
+ 'genhdlist2',
+ 'createrepo_mga7',
+ 'mirror',
+ ],
+ }
+
# the list of checks, actions, posts for infra distros in youri-upload
$infra_youri_upload_targets = {
'checks' => [
@@ -533,6 +555,46 @@ class mga_buildsystem::config {
'udev-rule-in-etc',
],
}
+
+ # rpmlint check options for Mageia 7
+ $mga7_rpmlint = {
+ 'config' => '/usr/share/rpmlint/config',
+ 'path' => '/usr/bin/rpmlint',
+ 'results' => [
+ 'buildprereq-use',
+ 'no-description-tag',
+ 'no-summary-tag',
+ 'non-standard-group',
+ 'non-xdg-migrated-menu',
+ 'percent-in-conflicts',
+ 'percent-in-dependency',
+ 'percent-in-obsoletes',
+ 'percent-in-provides',
+ 'summary-ended-with-dot',
+ 'unexpanded-macro',
+ 'unknown-lsb-keyword',
+ 'malformed-line-in-lsb-comment-block',
+ 'empty-%postun',
+ 'empty-%post',
+ 'invalid-desktopfile',
+ 'standard-dir-owned-by-package',
+ 'use-tmp-in-%postun',
+ 'bogus-variable-use-in-%posttrans',
+ 'dir-or-file-in-usr-local',
+ 'dir-or-file-in-tmp',
+ 'dir-or-file-in-mnt',
+ 'dir-or-file-in-opt',
+ 'dir-or-file-in-home',
+ 'dir-or-file-in-var-local',
+ 'tmpfiles-conf-in-etc',
+ 'non-ghost-in-run',
+ 'non-ghost-in-var-run',
+ 'non-ghost-in-var-lock',
+ 'systemd-unit-in-etc',
+ 'udev-rule-in-etc',
+ ],
+ }
+
# rpmlint check options for cauldron
$cauldron_rpmlint = {
'config' => '/usr/share/rpmlint/config',
@@ -617,7 +679,7 @@ class mga_buildsystem::config {
'medias' => $std_medias,
'base_media' => $std_base_media,
'branch' => 'Devel',
- 'version' => '7',
+ 'version' => '8',
'submit_allowed' => "${svn_root_packages}/cauldron",
'macros' => $std_macros,
'repo_allow_from_ips' => $repo_allow_from_ips,
@@ -812,6 +874,35 @@ class mga_buildsystem::config {
},
},
+ '7' => {
+ 'arch' => concat($std_arch, ['armv7hl', 'aarch64']),
+ 'mandatory_arch' => concat($std_arch, ['armv7hl', 'aarch64']),
+ 'no_media_cfg_update' => true,
+ 'medias' => $std_medias,
+ 'base_media' => $std_base_media,
+ 'branch' => 'Official',
+ 'version' => '7',
+ 'submit_allowed' => "${svn_root_packages}/updates/7",
+ 'backports_allowed' => "${svn_root_packages}/backports/7",
+ 'macros' => $std_macros,
+ 'repo_allow_from_ips' => $repo_allow_from_ips,
+ 'repo_allow_from_domains' => $repo_allow_from_domains,
+ 'youri' => {
+ 'upload' => {
+ 'targets' => $mga7_youri_upload_targets,
+ 'checks' => {
+ 'rpmlint' => $mga7_rpmlint,
+ },
+ },
+ 'todo' => {
+ 'targets' => $std_youri_todo_targets,
+ 'checks' => {
+ 'rpmlint' => $mga7_rpmlint,
+ 'version' => $std_version_check,
+ },
+ },
+ },
+ },
'infra_1' => {
'arch' => $std_arch,