Open gntpet opened 2 months ago
I like the idea, the problem is just that sandbox artifacts change very very frequently, so having the latest pre-downloaded would mean that we would have to re-do the images many times a day, which is not going to happen. The generic image is updated once a month and it would certainly be possible to re-build an azure VM image with this every time. Currently, there are a few things, which takes time when using GitHub hosted runners
So creating an image like this in a generic way would probably only save us 100 seconds (which still is a lot). We will investigate more...
- Downloading the generic image takes ~100 seconds
For us it takes even longer
- Determining artifact url
will give it a go. I assume it gives the same result
- Downloading the used artifact
I second that. it's quite frequent that CDN fails to download it. We often see big time difference between two projects. (no containers, no tests, just simple compilation with different versions).
One downloads from CDN quickly, second chokes.
I agree that it is hard to pre-cache everything. But, perhaps you can see very clear patterns on your storage statistics. For e.g. we are compiling using sandbox artifacts for 24.0. It's latest version does not change that frequent anymore.
We actually have a meeting tomorrow where we need to discuss the future of artifacts storage - hopefully we can solve this problem and include the performance problem
On the artifacts storage, we will probably shift to use OCI artifacts and also refactor the artifacts to a different layer structure to better match how they are going to be used. Timeline is still unknown
Feature description
Github enterprise does support custom/partner images for the large runners
Would it be possible that to create one with all the BC stuff needed for Al-Go:
having those tools preinstalled/predownloaded would greatly help to reduce time needed to spin BC container. Yes we still do it because we want to test the code.
See more info about runner-images and their github repo
Best Regards, Gintautas