1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-28 09:58:25 +00:00

feat: assign task to runner

This commit is contained in:
Jason Song
2022-10-10 15:35:26 +08:00
parent 3daaf92c64
commit 530faf7227
7 changed files with 185 additions and 61 deletions

View File

@@ -9,7 +9,6 @@ import (
"code.gitea.io/gitea/routers/api/bots/runner"
"code.gitea.io/gitea/routers/api/bots/scheduler/queue"
"gitea.com/gitea/proto-go/runner/v1/runnerv1connect"
)
@@ -21,6 +20,6 @@ func RunnerRoute() (string, http.Handler) {
return runnerv1connect.NewRunnerServiceHandler(
runnerService,
compress1KB,
withRunner,
runner.WithRunner,
)
}