-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Working non-trivial example for gha-runner-scale-set #2809
Comments
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. |
buildx can be fixed by creating your own context as in: this is more of a quirk of buildx and the docker dind image than anything specifically related to ARC |
Yes, thank you. That's why I made it as a enhancement request for a full example, rather than set of bugs |
Hey @davhdavh, This section in github docs provides information on more advanced configuration options, including proxy, dind, kubernetes mode etc. |
other weird things... |
Isn't it possible to workaround this issue once for all cases migrating from TLS TCP docker daemon connection to file socket in empty dir volume as it was done in #2324 ? |
FYI: I tried to workaround this issue by using docker file socket instead of TCP and it successfully helped me with problem described in this issue without adding any changes in workflows itself . template i used:
So I think that maybe it worth it to reimplement fix done in #2324 (fix on controller side) for the controller of the new mode |
I gave up totally on gha-runner-scale-set for dind or kubernetes.
I also had to manually figure out how to setup tool cache, since that is not included in any of the helms. And tool cache is not used for the 'setup job' (The first step), so it spends 30 sec downloading the actions EVERY SINGLE TIME. I also gave up on the pre-built images, and built my own. I also had to give up on using a real ephemeral runner for windows builds, it took 5+ min to checkout code each time due to IO speed. Instead _work is a hostpath and I am limited to 1 runner per windows host (which is acceptable in my case). (This is not a fault of gha/arc, just windows being windows) I also had to give up on using upload-artifact action, it is just too horrible slow. 12+min for something that took azure devops 12 seconds is insane. and still have problem with it taking 30-60 seconds for a runner to start a job from the time of commit, even with runners idling for something to do. 15-30 sec after the github UI sees there is a job to it picking a runner, and 15-30 seconds for that runner to actually start on the job. |
Co-authored-by: Bassem Dghaidi <[email protected]>
What would you like added?
I would really like there to be a working example that can do more than just hello world.
Why is this needed?
Because nothing really works beyond hello world
Additional context
Example Docker:
dind: fails because of "ERROR: could not create a builder instance with TLS data loaded from environment."
kubernetes: fails because of "/usr/bin/tar: ../../../.docker: Cannot mkdir: Permission denied"
Example Cache volume:
default: doesn't output the expected value
Add pvc resource + extra config:
and yes, you need the image and command also, or things break
dind: Works
kubernetes: $RUNNER_TOOL_CACHE is different path in running container. Fails with mountpath set to either the above or the changed path
Example windows:
default: Doesn't work with the windows dockerfile example: Cannot start and Fails with
AutoscalingRunnerSet.actions.github.com "gha-windows" is invalid: [spec.template.spec.containers[0].volumeMounts: Invalid value: "null":
dind: Doesn't work with the windows dockerfile example. Cannot start and Fails to run the dind things in linux, or have a windows image for them
kubernetes: Doesn't work with the windows dockerfile example. Can start but fails on the "initialize containers" step with "
Container operations are only supported on Linux runners"
Other issues
The text was updated successfully, but these errors were encountered: