openqa-maintenance: Quick fixes for kgraft jobs
This commit is contained in:
parent
59f906e82f
commit
4eb39bd6d7
@ -10,6 +10,7 @@
|
||||
"ARCH": "x86_64",
|
||||
"DISTRI": "sle",
|
||||
"FLAVOR": "Server-DVD-Incidents-Kernel",
|
||||
"VERSION": "12",
|
||||
"KGRAFT": "1"
|
||||
}
|
||||
],
|
||||
|
@ -184,10 +184,12 @@ class SUSEUpdate(Update):
|
||||
# incident_id as part of BUILD
|
||||
if kgraft_target:
|
||||
incident_id = re.match(r".*:(\d+)$", action.src_project).group(1)
|
||||
name = '.kgraft.'
|
||||
settings['KGRAFT'] = '1'
|
||||
else:
|
||||
incident_id = re.match(r".*:(\d+)$", kaction.src_project).group(1)
|
||||
name = '.kernel.'
|
||||
|
||||
name = '.kgraft.' if kgraft_target else '.kernel.'
|
||||
# discard jobs without 'start'
|
||||
settings['start'] = True
|
||||
settings['BUILD'] = ':' + req.reqid + name + incident_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user