iver-wharf / wharf-api

Wharf backend written in Go
MIT License
1 stars 0 forks source link

Add build step support #155

Open applejag opened 2 years ago

applejag commented 2 years ago

wharf-cmd-aggregator will soon be able to report the build status on a per-step basis.

Need a way to store this in the database. Suggest something like:

diagram

Where the BuildStep.Status could be one of:

The build stage status should be calculated from the build steps that belongs to it. It should not be stored in the database. Possible values could be:

Begin with just simple CRUD. We'll look into streaming later.

Should perhaps also add a BuildCancelled status for builds.