Closed phk-nord closed 21 hours ago
Does your ACTIONS_CACHE_URL
have a trailing slash?
it doesn't no it's http://gh-cache-github-actions-cache-server.gh-runner.svc.cluster.local/TOKEN
Try adding a trailing slash
adding the trailing / to the ACTIONS_CACHE_URL
did solve all 404 errors the runner reported. Caches can be created and retrieved successfully. Thank you for your help.
This kind of relates to #66 but the cause seems to be different as both services can communicate with another.
About the setup I have the cache server running with the helm chart thats open as PR #58 and the runner as ARC ephemeral Runner Scale set following the official documentation.
Following your suggestion from #66
zstd
is installed on the runner image as well as thesed
command is executed during the docker build of the runner image.my runner can curl the cache server by resolving the k8s service
The shortened cache server logs (unnecessary
Get /
requests and same error arrays removed) indicate that communication in both directions seem possibleI tested the caching on the same action that build our runner image and generates an sbom with trivy. The following is are the most relevant snippets of the trivy step (in action debug mode) as that uses caching usually.
Somehow the runner tries to cache it locally but never uses that directory anyways
I am happy if you can give me any pointers or ideas that could prevent communication or use of the caching