Populate the package list of the module-package-list tag.

This commit is contained in:
Ralph Bean 2017-02-28 18:03:45 +00:00
parent 5f15217f0a
commit 5ebe0a8e2b
2 changed files with 14 additions and 0 deletions

View file

@ -178,6 +178,15 @@
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags:
- bodhi
# See https://pagure.io/releng/issue/6663 and https://pagure.io/fm-orchestrator/issue/333
- name: sync packages from pkgdb2 to koji fedora (modules)
cron: name="owner-sync-modules" minute="9,19,29,39,49,59" user="root"
job="/usr/local/bin/owner-sync-pkgdb module-package-list"
cron_file=update-koji-owner-modules
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags:
- bodhi
#
# cron job that syncs updates to master mirror
#

View file

@ -81,6 +81,11 @@ if __name__ == '__main__':
if 'docker' in tag:
namespace='docker'
version = tag.split('-')[0].split('f')[1]
elif tag == 'module-package-list':
# See https://pagure.io/releng/issue/6663
# and https://pagure.io/fm-orchestrator/issue/333
namespace = 'rpms'
version = rawhide
else:
namespace='rpms'
if tag.startswith('epel'):