-
Notifications
You must be signed in to change notification settings - Fork 341
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
Runner package is downloaded every single time #615
Comments
See the discussion at #580 for context. Definitely, downloading the self-hosted runner package every single time is suboptimal, but requiring users to download two or more different runner packages along with CML when they just need one or none is equally inconvenient. It would be nice to cache them locally, though. |
Just to justify the Line 197 in 6c451d9
Lines 153 to 154 in 6c451d9
|
I do not follow you here. So Im going to edit the main description. |
Thanks! Now it's much more clear. |
Hi @0x2b3bfa0, I plan to take this, how do you think about the below approach: I will created a cached folder |
is this still a concern/issue? Im not following what the optimization is supposed to be? |
This is only an “issue” when using |
Definitely not p1-important |
I see because each call downloads the gha runner since they aren't aware of previous invocations |
Are there any news on this? Downloading the gitlab runner binary (50MB) every single time a runner is created considerably slows our pipelines because it has to go through our proxy, where it is scanned, every single time. This means an extra few minutes between triggering runner creation and start of the actual workload. |
@jancrichter no news on this; unfortunately, it's not yet on the team's priority list. However, If you are willing to do a PR and implement this feature, we would gladly welcome the contribution and will work to get it merged and released asap for you. |
Would be faster if we can reuse the already downloaded one, this is specially good for not cloud runners.
We should download the wrapped runner once (GH or GL), install it in the system and make
cml-runner
to use it always.If we are changing the SCM we should download the other wrapped runner.
The text was updated successfully, but these errors were encountered: