Update the configuration so no more manual changes after branching are needed
Patch from Miro Hrončok submitted upstream at: https://pagure.io/fedora-ci/simple-koji-ci/pull-request/36 Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
8f5de8c822
commit
7b891562d2
1 changed files with 7 additions and 9 deletions
|
@ -1,3 +1,9 @@
|
|||
class TargetTagsDict(dict):
|
||||
"""A dict that returns the key for missing values"""
|
||||
def __missing__(self, key):
|
||||
return key
|
||||
|
||||
|
||||
config = {
|
||||
'simple-koji-ci.enabled': True,
|
||||
|
||||
|
@ -23,15 +29,7 @@ config = {
|
|||
'krb_sessionopts': {'timeout': 3600, 'krb_rdns': False},
|
||||
'opts': {'scratch': True},
|
||||
'priority': 30,
|
||||
'target_tags': {
|
||||
'master': 'rawhide',
|
||||
'f31': 'f31',
|
||||
'f30': 'f30',
|
||||
'f29': 'f29',
|
||||
'epel7': 'epel7',
|
||||
'el6': 'el6',
|
||||
}
|
||||
|
||||
'target_tags': TargetTagsDict(master='rawhide'),
|
||||
},
|
||||
|
||||
"simple-koji-ci.cache": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue