Add build waiting sttatus
This commit is contained in:
parent
2269419629
commit
57f1d0d6af
@ -213,6 +213,8 @@ func CheckIfBuildComplete(ctx context.Context, item domain.BuildQueueItem) (bool
|
|||||||
return false, nil // Build is still in progress
|
return false, nil // Build is still in progress
|
||||||
case "Queued":
|
case "Queued":
|
||||||
return false, nil // Build is still in progress
|
return false, nil // Build is still in progress
|
||||||
|
case "Waiting":
|
||||||
|
return false, nil // Build is waiting to start
|
||||||
default:
|
default:
|
||||||
slog.Warn("Unknown build status", "status", mostRecentBuild.status)
|
slog.Warn("Unknown build status", "status", mostRecentBuild.status)
|
||||||
return false, fmt.Errorf("unknown build status: %s", mostRecentBuild.status)
|
return false, fmt.Errorf("unknown build status: %s", mostRecentBuild.status)
|
||||||
|
Loading…
Reference in New Issue
Block a user