mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 18:13:10 +02:00
chore(runner): create runner token table
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
1 parent
4dd135580f
commit
0993c40c4f
4 files changed
+53
-32
No files matched your search
@@ -8,6 +8,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"code.gitea.io/gitea/core"
|
||||
"code.gitea.io/gitea/models/db"
|
||||
repo_model "code.gitea.io/gitea/models/repo"
|
||||
user_model "code.gitea.io/gitea/models/user"
|
||||
@@ -44,6 +45,8 @@ type Runner struct {
|
||||
RepoRange string // glob match which repositories could use this runner
|
||||
Token string
|
||||
|
||||
// instance status (idle)
|
||||
Status core.RunnerStatus
|
||||
// Store OS and Artch.
|
||||
AgentLabels []string
|
||||
// Store custom labes use defined.
|
||||
|
||||
Reference in new issue
Block a user