Populate the pkg list of f27-modular, in preparation for bodhi.
This commit is contained in:
parent
d111ab49f0
commit
e9cd77fd04
3 changed files with 8 additions and 2 deletions
|
@ -23,7 +23,7 @@ def handle(content):
|
|||
sys.stdout.flush()
|
||||
# XXX If you modify this taglist. Please also modify the other copy in
|
||||
# bodhi2/backend/tasks/main.yml
|
||||
taglist = 'f28 f27 f26 f25 f28-container f27-container f26-container f25-container f28-docker f27-docker f26-docker f25-docker epel7 dist-6E-epel module-package-list'
|
||||
taglist = 'f28 f27 f26 f25 f28-container f27-container f26-container f25-container f28-docker f27-docker f26-docker f25-docker f27-modular epel7 dist-6E-epel module-package-list modular'
|
||||
cmd = [
|
||||
'/usr/local/bin/owner-sync-pagure',
|
||||
'--package', package,
|
||||
|
|
|
@ -174,7 +174,7 @@
|
|||
# bodhi2/backend/files/koji-sync-listener.py
|
||||
# This cronjob runs only once a day. The listener script runs reactively.
|
||||
cron: name="owner-sync" minute="15" hour="4" user="root"
|
||||
job="/usr/local/bin/lock-wrapper owner-sync '/usr/local/bin/owner-sync-pagure f28 f27 f26 f25 f28-container f27-container f26-container f25-container f28-docker f27-docker f26-docker f25-docker epel7 dist-6E-epel module-package-list'"
|
||||
job="/usr/local/bin/lock-wrapper owner-sync '/usr/local/bin/owner-sync-pagure f28 f27 f26 f25 f28-container f27-container f26-container f25-container f28-docker f27-docker f26-docker f25-docker f27-modular epel7 dist-6E-epel module-package-list modular'"
|
||||
cron_file=update-koji-owner
|
||||
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
|
||||
tags:
|
||||
|
|
|
@ -125,6 +125,12 @@ def get_namespace_and_version_from_tag(tag):
|
|||
elif 'docker' in tag:
|
||||
namespace = 'container'
|
||||
version = tag.split('-')[0].split('f')[1]
|
||||
elif 'modular' in tag:
|
||||
namespace = 'modules'
|
||||
try:
|
||||
version = tag.split('-')[0].split('f')[1]
|
||||
except IndexError:
|
||||
version = RAWHIDE
|
||||
elif tag == 'module-package-list':
|
||||
# See https://pagure.io/releng/issue/6663
|
||||
# and https://pagure.io/fm-orchestrator/issue/333
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue