Grant Job Update and Job Log right to ACTIONS_RUNTIME_TOKEN #32629
Labels
topic/gitea-actions
related to the actions of Gitea
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Uh oh!
There was an error while loading. Please reload this page.
Feature Description
Currently if act_runner acts as autoscaler it must use the priviledged token with FetchTasks and DeclareRunner permission to update logs, step status etc.
To allow less priviledges in a spawned act_runner for a single fetched Task it makes sense for me to have another token for updating the job and log.
This means for me that act_runner should be extended
act_runner worker
entrypointThe benefit of this approuch over ephemeral runners is, we don't need to register a new runner to Gitea each time we create a single job runner
ACTIONS_RUNTIME_TOKEN
is already used for artifacts of a particular task and might be a good token for more job scoped permissions without much impact.Yes I have a workaround by using a http proxy for log and step updates via my custom runner, but beeing able to upload logs directly to gitea is better
Alternative proposal to #32461
Screenshots
No response
The text was updated successfully, but these errors were encountered: