mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-06 07:27:28 +00:00
ci: Add extra gatekeeper debug output to stderr
which might be useful to assess the amount of querries. Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
This commit is contained in:
parent
2440a39c50
commit
2ae090b44b
@ -79,6 +79,8 @@ class Checker:
|
||||
else:
|
||||
# Not a required job
|
||||
return
|
||||
print(f"{job_name} - {job['status']} {job['conclusion']} {job['id']}",
|
||||
file=sys.stderr)
|
||||
if job["status"] != "completed":
|
||||
self.results[job_name] = RUNNING
|
||||
return
|
||||
@ -156,6 +158,7 @@ class Checker:
|
||||
:returns: 0 - all passing; 1 - any failure; 127 some jobs running
|
||||
"""
|
||||
# TODO: Check if we need pagination here as well
|
||||
print(_GH_RUNS_URL, file=sys.stderr)
|
||||
response = requests.get(
|
||||
_GH_RUNS_URL,
|
||||
params={"head_sha": self.latest_commit_sha},
|
||||
|
Loading…
Reference in New Issue
Block a user