gitshark

Clone repository

git clone https://gitshark.de/git/workaround/Gitshark.git
git clone git@gitshark.de:workaround/Gitshark.git
// Copied from gitea.com/gitea/actions-proto-def (MIT License, Copyright (c) 2022 The Gitea Authors).
// Only the java_package / java_multiple_files options are added; message shapes are unmodified.
syntax = "proto3";

package runner.v1;

option java_package = "de.workaround.ci.proto.runner.v1";
option java_multiple_files = true;

import "runner/v1/messages.proto";

service RunnerService {
  // Register register a new runner in server.
  rpc Register(RegisterRequest) returns (RegisterResponse) {}
  // Declare declare runner's version and labels to Gitea before starting fetching task.
  rpc Declare(DeclareRequest) returns (DeclareResponse) {}
  // FetchTask requests the next available task for execution.
  rpc FetchTask(FetchTaskRequest) returns (FetchTaskResponse) {}
  // UpdateTask updates the task status.
  rpc UpdateTask(UpdateTaskRequest) returns (UpdateTaskResponse) {}
  // UpdateLog uploads log of the task.
  rpc UpdateLog(UpdateLogRequest) returns (UpdateLogResponse) {}
}

Keyboard shortcuts

?Show this help
g hGo home
EscClose dialog