Added environment variable for run.sh to specify runner state file. #377
No reviewers
Labels
No Label
kind
bug
kind
build
kind/compatible
kind
dependencies
kind
docs
kind
enhancement
kind
feature
kind
help wanted
kind
proposal
kind
refactor
related
act
related
environment
related
exec
related
gitea
related
workflow
reviewed
confirmed
reviewed
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
reviewed
workaround
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#377
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "haxwithaxe/act_runner:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added environment variable
RUNNER_STATE_FILE
to let users specifywhere
run.sh
looks for the runner JSON file. Defaults to.runner
to preserve the original behavior.
Addresses issue #368. It's not my preferred solution but it's the least invasive one I can think of.
I'm happy to make any changes you want.
I didn't see an appropriate place to reference the change in the documentation. I will add documentation wherever you think is appropriate.
To test this I did the following:
make docker
command and pushed it to my private registry.config.yml
(/data/runner.json
in this case).Here is the relevant config. It's stored as a template so I've left the things that would normally be redacted as they are in the template.
runner_data
is a glusterfs subvolumeThanks for creating this gitea specific fork. Apart from the issue this pull request addresses it works so well I don't have to think about it once it's set up.
Thanks for the PR!