aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2019-06-28 18:46:26 +0300
committerThomas Backlund <tmb@mageia.org>2019-06-28 18:46:26 +0300
commit641c99529ce581e35c726a9886421433912937de (patch)
treecefddcdeeb9b847660d7011d0ce61a9cb5bc9e64
parent47d48f37b724637678ca2b159b5b7fdd01b198fd (diff)
downloadpuppet-641c99529ce581e35c726a9886421433912937de.tar
puppet-641c99529ce581e35c726a9886421433912937de.tar.gz
puppet-641c99529ce581e35c726a9886421433912937de.tar.bz2
puppet-641c99529ce581e35c726a9886421433912937de.tar.xz
puppet-641c99529ce581e35c726a9886421433912937de.zip
re-add appstream metadata after each createrepo_* run
-rw-r--r--deployment/mga_buildsystem/manifests/config.pp3
-rw-r--r--modules/buildsystem/manifests/var/youri.pp18
2 files changed, 21 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp
index fa2f9709..bf314ac5 100644
--- a/deployment/mga_buildsystem/manifests/config.pp
+++ b/deployment/mga_buildsystem/manifests/config.pp
@@ -212,6 +212,7 @@ class mga_buildsystem::config {
'posts' => [
'genhdlist2',
'createrepo_cauldron',
+ 'appstream_cauldron',
'clean_rpmsrate',
'mirror',
],
@@ -261,6 +262,7 @@ class mga_buildsystem::config {
'posts' => [
'genhdlist2',
'createrepo',
+ 'appstream_mga6',
'mirror',
],
}
@@ -283,6 +285,7 @@ class mga_buildsystem::config {
'posts' => [
'genhdlist2',
'createrepo_mga7',
+ 'appstream_mga7',
'mirror',
],
}
diff --git a/modules/buildsystem/manifests/var/youri.pp b/modules/buildsystem/manifests/var/youri.pp
index 32607e7b..7a5b7fda 100644
--- a/modules/buildsystem/manifests/var/youri.pp
+++ b/modules/buildsystem/manifests/var/youri.pp
@@ -272,6 +272,24 @@ class buildsystem::var::youri(
'command' => 'createrepo_c --no-database --update --workers=10 --zck --zck-dict-dir /usr/share/mageia-repo-zdicts/cauldron/',
},
},
+ 'appstream_mga6' => {
+ 'class' => 'Youri::Submit::Post::RunOnModifiedMedia',
+ 'options' => {
+ 'command' => '/distrib/appstream/appstream-6-modifyrepo.sh',
+ },
+ },
+ 'appstream_mga7' => {
+ 'class' => 'Youri::Submit::Post::RunOnModifiedMedia',
+ 'options' => {
+ 'command' => '/distrib/appstream/appstream-7-modifyrepo.sh',
+ },
+ },
+ 'appstream_cauldron' => {
+ 'class' => 'Youri::Submit::Post::RunOnModifiedMedia',
+ 'options' => {
+ 'command' => '/distrib/appstream/appstream-cauldron-modifyrepo.sh',
+ },
+ },
'clean_rpmsrate' => {
'class' => 'Youri::Submit::Post::CleanRpmsrate',
},