enterprise-images icon indicating copy to clipboard operation
enterprise-images copied to clipboard

Speedup CI

Open greyscaled opened this issue 4 years ago • 1 comments

Right now each push/pr builds all images

However, most of the time we're patching a single image. We may be able to utilize a mechanism that determines which images ought to be built based off of the their base image.

Example

Changing a pycharm image should only require that image to be built

Changing a base image should require all images to be built

greyscaled avatar Feb 05 '21 20:02 greyscaled

We have a partial solution in #55 by splitting the builds by distro and running them in parallel, which also helps avoid the build servers' disks filling up. However, it's still re-building everything even if nothing in the images changes, so is pretty wasteful.

One challenge is that the builds are not completely reproducible, which is somewhat by design (i.e. when someone pushes an an update to the official ubuntu, we have to re-build the enterprise-base:ubuntu image)

jawnsy avatar Apr 02 '21 18:04 jawnsy