mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-22 13:38:26 +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:
|
else:
|
||||||
# Not a required job
|
# Not a required job
|
||||||
return
|
return
|
||||||
|
print(f"{job_name} - {job['status']} {job['conclusion']} {job['id']}",
|
||||||
|
file=sys.stderr)
|
||||||
if job["status"] != "completed":
|
if job["status"] != "completed":
|
||||||
self.results[job_name] = RUNNING
|
self.results[job_name] = RUNNING
|
||||||
return
|
return
|
||||||
@ -156,6 +158,7 @@ class Checker:
|
|||||||
:returns: 0 - all passing; 1 - any failure; 127 some jobs running
|
:returns: 0 - all passing; 1 - any failure; 127 some jobs running
|
||||||
"""
|
"""
|
||||||
# TODO: Check if we need pagination here as well
|
# TODO: Check if we need pagination here as well
|
||||||
|
print(_GH_RUNS_URL, file=sys.stderr)
|
||||||
response = requests.get(
|
response = requests.get(
|
||||||
_GH_RUNS_URL,
|
_GH_RUNS_URL,
|
||||||
params={"head_sha": self.latest_commit_sha},
|
params={"head_sha": self.latest_commit_sha},
|
||||||
|
Loading…
Reference in New Issue
Block a user