diff --git a/runner/v1/messages.pb.go b/runner/v1/messages.pb.go index 3d58f9b..22d0a89 100644 --- a/runner/v1/messages.pb.go +++ b/runner/v1/messages.pb.go @@ -448,6 +448,7 @@ type FetchTaskResponse struct { unknownFields protoimpl.UnknownFields RequestBandwidthTest bool `protobuf:"varint,3,opt,name=request_bandwidth_test,json=requestBandwidthTest,proto3" json:"request_bandwidth_test,omitempty"` // Request runner to perform bandwidth test + RequestCleanup bool `protobuf:"varint,4,opt,name=request_cleanup,json=requestCleanup,proto3" json:"request_cleanup,omitempty"` // Request runner to perform disk cleanup Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` TasksVersion int64 `protobuf:"varint,2,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"` // Gitea informs the Runner of the latest version of tasks through `tasks_version`. } @@ -491,6 +492,13 @@ func (x *FetchTaskResponse) GetRequestBandwidthTest() bool { return false } +func (x *FetchTaskResponse) GetRequestCleanup() bool { + if x != nil { + return x.RequestCleanup + } + return false +} + func (x *FetchTaskResponse) GetTask() *Task { if x != nil { return x.Task