Bodhi changes for f28 branching

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
This commit is contained in:
Mohan Boddu 2018-02-20 18:35:00 +00:00
parent 9886b18831
commit 9943bf9af8
4 changed files with 77 additions and 2 deletions

View file

@ -0,0 +1,22 @@
# mash config file
[f28-updates-testing]
rpm_path = %(arch)s/
source_path = SRPMS/
debuginfo = True
multilib = True
multilib_method = devel
tag = f28-updates-testing
inherit = False
strict_keys = True
keys = 429476b4
repoviewurl = http://download.fedoraproject.org/pub/fedora/linux/updates/testing/28/%(arch)s/
repoviewtitle = "Fedora 28 Updates Testing - %(arch)s"
arches = armhfp i386 ppc64 ppc64le x86_64 aarch64 s390x
hash_packages = True
delta = True
#delta_dirs = /pub/fedora/linux/releases/28/Everything/%(arch)s/os/,/mnt/koji/mash/updates/f28-updates/%(arch)s/
#parent_repos = http://download.fedoraproject.org/pub/fedora/linux/updates/28/%(arch)s, http://download.fedoraproject.org/pub/fedora/linux/releases/28/Everything/%(arch)s/os
# point to branched till we release then use above
delta_dirs = /mnt/koji/compose/branched/latest-Fedora-28/compose/Everything/%(arch)s/os/
parent_repos = https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-28/compose/Everything/%(arch)s/os/

View file

@ -0,0 +1,20 @@
[f28-updates]
rpm_path = %(arch)s/
source_path = SRPMS/
debuginfo = True
multilib = True
multilib_method = devel
tag = f28-updates
inherit = False
strict_keys = True
keys = 429476b4
repoviewurl = http://download.fedoraproject.org/pub/fedora/linux/updates/28/%(arch)s/
repoviewtitle = "Fedora 28 Updates - %(arch)s"
arches = armhfp i386 ppc64 ppc64le x86_64 aarch64 s390x
hash_packages = True
delta = True
#delta_dirs = /pub/fedora/linux/releases/28/Everything/%(arch)s/os/,/mnt/koji/mash/updates/f28-updates/%(arch)s/
#parent_repos = http://download.fedoraproject.org/pub/fedora/linux/releases/28/Everything/%(arch)s/os
# point to branched till we release then use above
delta_dirs = /mnt/koji/compose/branched/latest-Fedora-28/compose/Everything/%(arch)s/os/
parent_repos = https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-28/compose/Everything/%(arch)s/os/

View file

@ -19,7 +19,38 @@ FEDORAALTDEST = '/pub/fedora-secondary/updates/'
EPELDEST = '/pub/epel/'
ATOMICSOURCE = '/mnt/koji/compose/updates/atomic/'
ATOMICDEST = '/mnt/koji/atomic/'
RELEASES = {'f27': {'topic': 'fedora',
RELEASES = {'f28': {'topic': 'fedora',
'version': '28',
'modules': ['fedora', 'fedora-secondary'],
'repos': {'updates': {
'from': 'f28-updates',
'ostrees': [{'ref': 'fedora/28/%(arch)s/updates/atomic-host',
'dest': os.path.join(ATOMICDEST, '28'),
'arches': ['x86_64', 'ppc64le', 'aarch64']},
{'ref': 'fedora/28/x86_64/updates/workstation',
'dest': os.path.join(ATOMICDEST, 'workstation')},
# Hack around for the fact that ostree on f25 doesn't know links
{'ref': 'fedora/28/x86_64/workstation',
'dest': os.path.join(ATOMICDEST, 'workstation')}],
'to': [{'arches': ['x86_64', 'armhfp', 'source'],
'dest': os.path.join(FEDORADEST, '28')},
{'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le', 's390x'],
'dest': os.path.join(FEDORAALTDEST, '28')}
]},
'updates-testing': {
'from': 'f28-updates-testing',
'ostrees': [{'ref': 'fedora/28/%(arch)s/testing/atomic-host',
'dest': os.path.join(ATOMICDEST, '28'),
'arches': ['x86_64', 'ppc64le', 'aarch64']},
{'ref': 'fedora/28/x86_64/testing/workstation',
'dest': os.path.join(ATOMICDEST, 'workstation')}],
'to': [{'arches': ['x86_64', 'armhfp', 'source'],
'dest': os.path.join(FEDORADEST, 'testing', '28')},
{'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le', 's390x'],
'dest': os.path.join(FEDORAALTDEST, 'testing', '28')}
]}}
},
'f27': {'topic': 'fedora',
'version': '27',
'modules': ['fedora', 'fedora-secondary'],
'repos': {'updates': {

View file

@ -129,6 +129,8 @@
- f26-updates-testing.mash
- f27-updates.mash
- f27-updates-testing.mash
- f28-updates.mash
- f28-updates-testing.mash
- dist-6E-epel.mash
- dist-6E-epel-testing.mash
- epel7.mash
@ -187,7 +189,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 f28-container f27-container f26-container f28-docker f27-docker f26-docker f27-modular epel7 dist-6E-epel module-package-list modular'"
job="/usr/local/bin/lock-wrapper owner-sync '/usr/local/bin/owner-sync-pagure f29 f28 f27 f26 f29-container f28-container f27-container f26-container f28-docker f27-docker f26-docker f28-modular 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: