diff --git a/monitor/service_release.py b/monitor/service_release.py index 1fd6d1a..6402387 100644 --- a/monitor/service_release.py +++ b/monitor/service_release.py @@ -432,6 +432,12 @@ def prepare_persistent_build_workspace( label=f"{label} fetch build workspace", timeout_seconds=300, ) + local_command_output( + ["git", "-C", str(workspace_root), "fetch", "origin", commit], + cwd=workspace_root, + label=f"{label} fetch build workspace commit", + timeout_seconds=300, + ) local_command_output( ["git", "-C", str(workspace_root), "reset", "--hard", commit], cwd=workspace_root,