diff --git a/.obs/wait_obs.py b/.obs/wait_obs.py index ea3ce03..dac3191 100644 --- a/.obs/wait_obs.py +++ b/.obs/wait_obs.py @@ -12,6 +12,7 @@ def get_buildstatus(project: str) -> ET.Element: return ET.fromstring(output) except subprocess.CalledProcessError: continue + print("Failed to get buildstatus from OBS") def do_wait(project:str, commit:str) -> ET.Element: last_state = None @@ -73,6 +74,7 @@ def print_results(status: ET.Element) -> bool: def main(): project = os.environ.get("OBS_PROJECT") sha = os.environ.get("GITEA_SHA") + print(f"Waiting for OBS to build {project} for commit {sha}") status = do_wait(project, sha) if print_results(status): return 1