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

Create build status endpoint #420

Closed
munishchouhan opened this issue Mar 12, 2024 · 3 comments
Closed

Create build status endpoint #420

munishchouhan opened this issue Mar 12, 2024 · 3 comments
Assignees

Comments

@munishchouhan
Copy link
Member

munishchouhan commented Mar 12, 2024

Add a new endpoint in builds to check the status on any build using buildid
GET /v1alpha1/builds/{buildId}/status

class design

class BuildStatus {
   static enum Status { PENDING, COMPLETED }
   String id
   Status status
   Boolean succeeded
   Instant created
   Duration duration
}

cc: @pditommaso @ewels

@munishchouhan munishchouhan self-assigned this Mar 12, 2024
@pditommaso
Copy link
Contributor

I've removed the FAILED in the Status enum because that can be inferred by the succeeded flag

@pditommaso
Copy link
Contributor

pditommaso commented Mar 12, 2024

Not this feature requires #421

@munishchouhan
Copy link
Member Author

completed by #421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants