Skip to content

Commit

Permalink
Add a runbook link to guestos label missing error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sa-github-api committed Oct 25, 2024
1 parent 1adf007 commit 07407c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release-controller/release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,9 @@ def is_guestos_change(ic_repo: GitRepo, commit: str) -> bool:
"""Check if GuestOS changed for the commit by querying git notes populated by commit annotator."""
changed = ic_repo.get_note(GUESTOS_CHANGED_NOTES_NAMESPACE, commit)
if not changed:
raise ValueError(f"Could not find targets for commit {commit}")
raise ValueError(
f"Could not find GuestOS label for commit {commit}. Check out commit annotator logs and runbook: https://dfinity.github.io/dre/release.html#missing-guestos-label."
)
changed = changed.strip()
if changed == "True":
return True
Expand Down

0 comments on commit 07407c2

Please sign in to comment.