proto/messages.proto in vx-message-0.4.1 vs proto/messages.proto in vx-message-0.5.0
- old
+ new
@@ -11,43 +11,23 @@
optional uint64 pull_request_id = 9;
}
message PerformJob {
required uint64 project_id = 1;
- required uint64 id = 2;
+ required uint64 build_id = 2;
required string name = 3;
required uint64 job_id = 4;
required string before_script = 5;
required string script = 6;
required string after_script = 7;
+ optional string image = 8;
}
-message BuildLog {
- required uint64 build_id = 1;
- required string log = 2;
- required uint64 tm = 3;
-}
-
message JobLog {
required uint64 build_id = 1;
required string log = 2;
required uint64 tm = 3;
required uint64 job_id = 5;
-}
-
-message BuildStatus {
- enum Status {
- INITIALIZED = 0;
- STARTED = 2;
- FINISHED = 3;
- BROKEN = 4;
- FAILED = 5;
- }
-
- required uint64 build_id = 1;
- required Status status = 2;
- required uint64 tm = 3;
- required uint32 jobs_count = 5;
}
message JobStatus {
enum Status {
INITIALIZED = 0;