mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 01:24:39 +02:00
add runners management ui
This commit is contained in:
1 parent
2ea693cdd2
commit
931d8c2c21
13 files changed
+779
-123
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user