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:
Where the BuildStep.Status could be one of:
BuildStepPending: waiting for the build step's stage to begin
BuildStepScheduling: scheduling pod
BuildStepInitializing: transferring repo
BuildStepRunning: performing step
BuildStepSuccess: ended successfully
BuildStepFailed: ended unsuccessfully
BuildStepCancelled: cancelled by user
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:
BuildStagePending: waiting for the build step's stage to begin
BuildStageRunning: any steps in stage are non-pending
BuildStageSuccess: all steps ended successfully
BuildStageFailed: any step ended unsuccessfully
BuildStageCancelled: any step was cancelled by user
Begin with just simple CRUD. We'll look into streaming later.
Should perhaps also add a BuildCancelled status for builds.
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:
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.