Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 2892: Add RUNNER_TOOL_CACHE to image to support runner tools caching #2978

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AmitBenAmi
Copy link

Description

The RUNNER_TOOL_CACHE (/opt/hostedtoolcache) is a mandatory and required path to exist in the Github runners for specific set-up actions (for example, ruby/setup-ruby.

It is also written in their documentation for self-hosted runners that this path is required.

I used the same mechanism for creating this path as in the actions-runner-controller project runners' Dockerfile.

fixes #2892

@AmitBenAmi AmitBenAmi requested a review from a team as a code owner November 9, 2023 19:33
@AmitBenAmi AmitBenAmi force-pushed the fix/runner-tool-cache-directory-not-found branch 3 times, most recently from 0db2801 to 0aba07f Compare November 13, 2023 22:19
Signed-off-by: Amit Ben Ami <benami.amit1@gmail.com>
@AmitBenAmi AmitBenAmi force-pushed the fix/runner-tool-cache-directory-not-found branch from 0aba07f to 65bbf6b Compare November 27, 2023 22:04
@AmitBenAmi
Copy link
Author

@nikola-jokic I wanted to ask for a maintainer review on this, please?
Thank you!

jimehk added a commit to krystal/actions-runner that referenced this pull request Apr 10, 2024
Based on PR against actions/runner:
actions/runner#2978
@diclophis
Copy link

@TingluoHuang Is this something that could be prioritized and reviewed... it is a major blocker to utilizing setup/ruby actions in self-hosted runners ... it really seems like it should work on the surface, but it does not because the vanilla ghcr.io/actions/actions-runner:latest image is broken.

@diclophis
Copy link

@luketomlinson @rentziass @AllanGuigou I see you all have recently approved some PRs.

It would be greatly appreciated if we could get a review on this (either reject or approve) so that we can address any remaining concerns and hopefully work towards a fix to support setup-ruby gha actions

see #2892 for the main problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Action Runner image doesn't support setup-ruby
2 participants