#321: Update sample: externals mount point#334
#321: Update sample: externals mount point#334developerdino wants to merge 1 commit intoevryfs:masterfrom
Conversation
…tomization to allow docker container (dind) access to the action runners `externals` directory in the runner container. This is required to stop the docker container from failing at actions/checkout with the error ``` OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/__e/node12/bin/node\": stat /__e/node12/bin/node: no such file or directory": unknown ``` Signed-off-by: Dean Tedesco <[email protected]>
|
but won't this shadow/mount over the existing contents which is needed? |
|
I think you may be correct, however, I'm currently not seeing this due to the GitHub action-runner self updating functionality updating the version straight away once initialised. So yes it is currently working for me in my environment but in the scenario where the action-runner is already up to date then this may fail. @davidkarlsen any other ideas how we can get the DinD container to have a copy of the files mounted in the runner container without wiping out the original files in the runner and being able to keep these synchronised? P.S. I also seem to be having the same issue with an action that is using |
|
I've verified that your assumption is correct, so our fix currently is to run the initialisation script every time regardless of version to make sure even though the /home/runner/externals directory is clobbered by the mount point it is reinstated by ATM this is the best/easiest work around we could come up with. If you/anyone else has a better solution I'm all ears. |
Init container is maybe the best yes, we're currently investigating using another base-image, so I haven't forgotten this case - we just need to look around a bit. Moving this issue to https://github.com/evryfs/github-actions-runner where it really belongs.
|
|
Great, let me know if I can be of any assistance. |
Add new mount point to the example GithubActionRunner runner-pool kustomization to allow docker container (dind) access to the action runners
externalsdirectory in the runner container. This is required to stop the docker container from failing at actions/checkout with the errorRefs: #321