Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Started Status for Release Bundle Creation #948

Merged
merged 1 commit into from
May 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lifecycle/services/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const (
Failed RbStatus = "FAILED"
Rejected RbStatus = "REJECTED"
Deleting RbStatus = "DELETING"
Started RbStatus = "STARTED"
)

func (rbs *ReleaseBundlesService) GetReleaseBundleCreationStatus(rbDetails ReleaseBundleDetails, projectKey string, sync bool) (ReleaseBundleStatusResponse, error) {
Expand Down Expand Up @@ -128,7 +129,7 @@ func (rbs *ReleaseBundlesService) waitForRbOperationCompletion(restApi, projectK
return true, nil, err
}
switch rbStatusResponse.Status {
case Pending, Processing:
case Pending, Processing, Started:
return false, nil, nil
case Completed, Rejected, Failed, Deleting:
return true, responseBody, nil
Expand Down
Loading