Cannot overwrite RUNNER_TOOL_CACHE variable, container fails to start with default value #184
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: forgejo/runner#184
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
I am trying to run an action in container from image quay.io/fedora/fedora-coreos:stable
In this image
/opt
is a link to/var/opt
and that is probably why on action "set up job" stage it fails with error:I am trying to overwrite variable RUNNER_TOOL_CACHE to
/var/hostedtoolcache
, setting it in environment of runner and podman(used instead of docker), and in runnerconfig.yaml
as follows:But this variable still stays the same:
My setup is rather custom - I run this setup in kubernetes - single pod with 2 containers - one with runner, other with podman
label that have image that is failing:
"coreos:docker://quay.io/fedora/fedora-coreos:stable"
other label that is working properly:
"amd64:docker://quay.io/podman/stable"
I can provide more info if needed.
I can reproduce it. After pre-investigation it's an upstream act limitation.
Runner calls act underneath and act has hardcoded mount to
/opt/hostedtoolcache
.There's a possibility that it's possible to overwrite the envvar set by act, but I wasn't able to do that yet.