1
1
mirror of https://github.com/go-gitea/gitea synced 2025-09-28 03:28:13 +00:00

feat: record job needs

This commit is contained in:
Jason Song
2022-11-04 11:40:39 +08:00
parent 234cdc67e1
commit cf40dca0c4
7 changed files with 17 additions and 14 deletions

View File

@@ -22,11 +22,10 @@ type RunJob struct {
RunID int64 `xorm:"index"`
Run *Run `xorm:"-"`
Name string
Ready bool // ready to be executed
Attempt int64
WorkflowPayload []byte
JobID string // job id in workflow, not job's id
Needs []int64 `xorm:"JSON TEXT"`
Needs []string `xorm:"JSON TEXT"`
RunsOn []string `xorm:"JSON TEXT"`
TaskID int64 // the latest task of the job
Status Status `xorm:"index"`