Add build waiting sttatus

This commit is contained in:
ferreo 2024-07-30 02:02:55 +01:00
parent 2269419629
commit 57f1d0d6af

View File

@ -213,6 +213,8 @@ func CheckIfBuildComplete(ctx context.Context, item domain.BuildQueueItem) (bool
return false, nil // Build is still in progress
case "Queued":
return false, nil // Build is still in progress
case "Waiting":
return false, nil // Build is waiting to start
default:
slog.Warn("Unknown build status", "status", mostRecentBuild.status)
return false, fmt.Errorf("unknown build status: %s", mostRecentBuild.status)