Support changing labels of Actions runner without re-registration (#24806)
close #24540 related: - Protocol: https://gitea.com/gitea/actions-proto-def/pulls/9 - Runner side: https://gitea.com/gitea/act_runner/pulls/201 changes: - Add column of `labels` to table `action_runner`, and combine the value of `agent_labels` and `custom_labels` column to `labels` column. - Store `labels` when registering `act_runner`. - Update `labels` when `act_runner` starting and calling `Declare`. - Users cannot modify the `custom labels` in edit page any more. other changes: - Store `version` when registering `act_runner`. - If runner is latest version, parse version from `Declare`. But older version runner still parse version from request header.
This commit is contained in:
parent
6bbccdd177
commit
8228751c55
15 changed files with 113 additions and 63 deletions
|
@ -3426,11 +3426,9 @@ runners.owner_type = Type
|
|||
runners.description = Description
|
||||
runners.labels = Labels
|
||||
runners.last_online = Last Online Time
|
||||
runners.agent_labels = Agent Labels
|
||||
runners.custom_labels = Custom Labels
|
||||
runners.custom_labels_helper = Custom labels are labels that are added manually by an administrator. A comma separates labels, whitespace at the start and end of each label is ignored.
|
||||
runners.runner_title = Runner
|
||||
runners.task_list = Recent tasks on this runner
|
||||
runners.task_list.no_tasks = There is no task yet.
|
||||
runners.task_list.run = Run
|
||||
runners.task_list.status = Status
|
||||
runners.task_list.repository = Repository
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue