Open jjayapandian opened 7 months ago
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
Hello search engine user,
I also ran into this problem today. My setup is a Kubernetes cluster with DinD. We use Docker containers in some Github jobs. So that the external tools are also available in Dind, I have created an initContainer which copies externals directory into an emptyDir volume.
initContainers:
- name: init-runner
image: ghcr.io/actions/actions-runner:latest
imagePullPolicy: IfNotPresent
command: ["sh", "-c", "cp -ar /home/runner/externals/* /externals/"]
volumeMounts:
- name: externals
mountPath: /externals
containers:
- name: runner
image: ghcr.io/actions/actions-runner:latest
...snip...
volumeMounts:
- name: work
mountPath: /home/runner/_work
- name: externals
mountPath: /home/runner/externals
...snip...
- name: dind
imagePullPolicy: IfNotPresent
image: docker:dind
...snip...
volumeMounts:
- name: work
mountPath: /home/runner/_work
- name: externals
mountPath: /home/runner/externals
hope it helps
Checks
Controller Version
0.20.2
Helm Chart Version
No response
CertManager Version
No response
Deployment Method
Helm
cert-manager installation
using 1.11.4 cert manager
Checks
Resource Definitions
To Reproduce
Describe the bug
Getting env: ‘/__e/node20/bin/node’ : No such file or directory when running runners in kubernetes mode
Describe the expected behavior
/runner/_work/externals is empty whereas /runner/externals has the data somehow its not mapping properly in kubernetes mode
Whole Controller Logs
Whole Runner Pod Logs
Additional Context
NA