forked from gboddin/drone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f090a2d
commit ec88661
Showing
14 changed files
with
496 additions
and
544 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
package model | ||
|
||
// swagger:model job | ||
type Job struct { | ||
ID int64 `json:"id" meddler:"job_id,pk"` | ||
BuildID int64 `json:"-" meddler:"job_build_id"` | ||
NodeID int64 `json:"-" meddler:"job_node_id"` | ||
Number int `json:"number" meddler:"job_number"` | ||
Error string `json:"error" meddler:"job_error"` | ||
Status string `json:"status" meddler:"job_status"` | ||
ExitCode int `json:"exit_code" meddler:"job_exit_code"` | ||
Enqueued int64 `json:"enqueued_at" meddler:"job_enqueued"` | ||
Started int64 `json:"started_at" meddler:"job_started"` | ||
Finished int64 `json:"finished_at" meddler:"job_finished"` | ||
|
||
Environment map[string]string `json:"environment" meddler:"job_environment,json"` | ||
} | ||
// // swagger:model job | ||
// type Job struct { | ||
// ID int64 `json:"id" meddler:"job_id,pk"` | ||
// BuildID int64 `json:"-" meddler:"job_build_id"` | ||
// NodeID int64 `json:"-" meddler:"job_node_id"` | ||
// Number int `json:"number" meddler:"job_number"` | ||
// Error string `json:"error" meddler:"job_error"` | ||
// Status string `json:"status" meddler:"job_status"` | ||
// ExitCode int `json:"exit_code" meddler:"job_exit_code"` | ||
// Enqueued int64 `json:"enqueued_at" meddler:"job_enqueued"` | ||
// Started int64 `json:"started_at" meddler:"job_started"` | ||
// Finished int64 `json:"finished_at" meddler:"job_finished"` | ||
// | ||
// Environment map[string]string `json:"environment" meddler:"job_environment,json"` | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package model | ||
|
||
type Log struct { | ||
ID int64 `meddler:"log_id,pk"` | ||
JobID int64 `meddler:"log_job_id"` | ||
Data []byte `meddler:"log_data"` | ||
} | ||
// type Log struct { | ||
// ID int64 `meddler:"log_id,pk"` | ||
// JobID int64 `meddler:"log_job_id"` | ||
// Data []byte `meddler:"log_data"` | ||
// } |
Oops, something went wrong.