1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-31 19:38:23 +00:00

add runners management ui

This commit is contained in:
Lunny Xiao
2022-06-20 16:31:54 +08:00
committed by Jason Song
parent 2ea693cdd2
commit 931d8c2c21
13 changed files with 779 additions and 123 deletions

View File

@@ -24,7 +24,7 @@ func PushToQueue(task *bots_model.Build) {
// Dispatch assign a task to a runner
func Dispatch(task *bots_model.Build) (*bots_model.Runner, error) {
runner, err := bots_model.GetUsableRunner(bots_model.GetRunnerOptions{
runner, err := bots_model.GetUsableRunner(bots_model.FindRunnerOptions{
RepoID: task.RepoID,
})
if err != nil {