Skip to content
Snippets Groups Projects

CI: add "report-image-diff" job

Merged Dmitry Petrov requested to merge report_image_changes_in_mr into master
@@ -37,8 +37,10 @@ class BuildPipelines:
all=False, sha=self.commit_sha, order_by="id", sort="desc"
)
print(f"pipelines_for_commit[{self.commit_sha}]: {pipelines_for_commit}")
if not pipelines_for_commit:
return None
return {}
# For the main branch we have two types of pipelines: short and full.
# The short one just retriggers the full pipeline and does not contain any artifacts.
@@ -57,7 +59,7 @@ class BuildPipelines:
timeout = 1500 # 25 nin
check_interval = 5
not_rdy_status = ["pending", "running"]
not_rdy_status = ["created", "pending", "running"]
if build_pipeline.status in not_rdy_status:
print(f"The build pipeline ({build_pipeline.web_url}) is not ready.")
print(f"Wait for it to complete:", end="", flush=True)
Loading