mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-07 16:07:37 +00:00
ci.gatekeeper: Update existing results
tha matching run_id means we're dealing with the same job but with updated results and not with an older job. Update the results in such case. Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
This commit is contained in:
parent
b4da4b5e3b
commit
6c19a067a0
@ -80,9 +80,7 @@ class Checker:
|
||||
else:
|
||||
# Not a required job
|
||||
return
|
||||
# TODO: Check if multiple re-runs use the same "run_id". If so use
|
||||
# job['run_attempt'] in case of matching "run_id".
|
||||
elif job['run_id'] <= self.results[job_name]['run_id']:
|
||||
elif job['run_id'] < self.results[job_name]['run_id']:
|
||||
# Newer results already stored
|
||||
print(f"older {job_name} - {job['status']} {job['conclusion']} "
|
||||
f"{job['id']}", file=sys.stderr)
|
||||
|
Loading…
Reference in New Issue
Block a user