diff options
author | Thomas Backlund <tmb@mageia.org> | 2021-02-24 22:43:57 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2021-02-24 22:43:57 +0200 |
commit | 1159ac8460d1e878d81f0b1aeec1470bbba3674a (patch) | |
tree | 9a5729afacea096e1f10b07da86d1b3cc52213b8 | |
parent | a4108a482b14f9c67d17e81c8753ee78ad14eb3c (diff) | |
download | puppet-1159ac8460d1e878d81f0b1aeec1470bbba3674a.tar puppet-1159ac8460d1e878d81f0b1aeec1470bbba3674a.tar.gz puppet-1159ac8460d1e878d81f0b1aeec1470bbba3674a.tar.bz2 puppet-1159ac8460d1e878d81f0b1aeec1470bbba3674a.tar.xz puppet-1159ac8460d1e878d81f0b1aeec1470bbba3674a.zip |
add mga 8 and infra_8 targets
-rw-r--r-- | deployment/mga_buildsystem/manifests/config.pp | 82 | ||||
-rw-r--r-- | modules/buildsystem/manifests/var/youri.pp | 12 |
2 files changed, 94 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp index fa5a9e8f..277ef9c1 100644 --- a/deployment/mga_buildsystem/manifests/config.pp +++ b/deployment/mga_buildsystem/manifests/config.pp @@ -265,6 +265,29 @@ class mga_buildsystem::config { ], } + $mga8_youri_upload_targets = { + 'checks' => [ + 'version', + 'tag', + 'acl', + 'rpmlint', + 'recency', + ], + 'actions' => [ + 'sign', + 'install', + 'link', + 'archive', + 'mail', + ], + 'posts' => [ + 'genhdlist2', + 'createrepo_mga8', + 'appstream_mga8', + 'mirror', + ], + } + # the list of checks, actions, posts for infra distros in youri-upload $infra_youri_upload_targets = { 'checks' => [ @@ -489,6 +512,34 @@ class mga_buildsystem::config { }, }, + '8' => { + 'arch' => concat($std_arch, ['armv7hl', 'aarch64']), + 'mandatory_arch' => concat($std_arch, ['aarch64']), + 'no_media_cfg_update' => true, + 'medias' => $std_medias, + 'base_media' => $std_base_media, + 'branch' => 'Official', + 'version' => '8', + 'submit_allowed' => "${svn_root_packages}/updates/8", + 'backports_allowed' => "${svn_root_packages}/backports/8", + 'macros' => $std_macros, + 'youri' => { + 'upload' => { + 'targets' => $mga8_youri_upload_targets, + 'checks' => { + 'rpmlint' => $mga_rpmlint, + }, + }, + 'todo' => { + 'targets' => $std_youri_todo_targets, + 'checks' => { + 'rpmlint' => $mga_rpmlint, + 'version' => $std_version_check, + }, + }, + }, + }, + 'infra_6' => { 'arch' => concat($std_arch, $arm32_arch), 'medias' => $infra_medias, @@ -550,6 +601,37 @@ class mga_buildsystem::config { }, 'no_mirror' => true, }, + + 'infra_8' => { + 'arch' => concat($std_arch, ['armv7hl', 'aarch64']), + 'medias' => $infra_medias, + 'base_media' => [ '8/core/release', '8/core/updates', 'infra/updates' ], + 'branch' => 'Official', + 'version' => '8', + 'submit_allowed' => "${svn_root_packages}/updates/infra_8", + 'macros' => $std_macros, + 'based_on' => { + '7' => { + 'core' => [ 'release', 'updates' ], + }, + }, + 'youri' => { + 'upload' => { + 'targets' => $infra_youri_upload_targets, + 'checks' => { + 'rpmlint' => $mga_rpmlint, + }, + }, + 'todo' => { + 'targets' => $std_youri_todo_targets, + 'checks' => { + 'rpmlint' => $mga_rpmlint, + 'version' => $infra_version_check, + }, + }, + }, + 'no_mirror' => true, + }, } } $checks_tag_options = { diff --git a/modules/buildsystem/manifests/var/youri.pp b/modules/buildsystem/manifests/var/youri.pp index 2ce7b96f..89531dba 100644 --- a/modules/buildsystem/manifests/var/youri.pp +++ b/modules/buildsystem/manifests/var/youri.pp @@ -272,6 +272,12 @@ class buildsystem::var::youri( 'command' => 'createrepo_c --no-database --update --workers=10 --zck --zck-dict-dir /usr/share/mageia-repo-zdicts/mga7/', }, }, + 'createrepo_mga8' => { + 'class' => 'Youri::Submit::Post::RunOnModifiedMedia', + 'options' => { + 'command' => 'createrepo_c --no-database --update --workers=10 --zck --zck-dict-dir /usr/share/mageia-repo-zdicts/mga7/', + }, + }, 'createrepo_cauldron' => { 'class' => 'Youri::Submit::Post::RunOnModifiedMedia', 'options' => { @@ -290,6 +296,12 @@ class buildsystem::var::youri( 'command' => '/distrib/appstream/appstream-7-modifyrepo.sh', }, }, + 'appstream_mga8' => { + 'class' => 'Youri::Submit::Post::RunOnModifiedMedia', + 'options' => { + 'command' => '/distrib/appstream/appstream-8-modifyrepo.sh', + }, + }, 'appstream_cauldron' => { 'class' => 'Youri::Submit::Post::RunOnModifiedMedia', 'options' => { |