-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Improve monolithic build #1203
Comments
I recently offered to help with some tasks for #1407, after reading @mathbunnyru proposal and additional comments it is clear that this issue - i.e. improving the monolithic build should be tackled first to ensure we have a solid foundation. @manics I would be happy to explore and work on a POC leveraging GH actions + doit (for x86):
Some advantages I see from this approach are:
thoughts? |
@trallard In a recent PR (#1604) I've explored a way to standardise things by using
I'm convinced that it could be a an option since it support multi-platform and can scale by using several build nodes through various drivers. It is the solution used by others with similar issues to solve like Official Jenkins Docker image -> jenkinsci/docker#1137. It's a way of standardising and improving the build of several images that are closely related like we do here. Out of the box it will permit to build in // images that depends on the same upstream images ( However other maintainers were not convinced, so if you have time to have a look 👀 and come with a confirmation that it's not the solution or with new arguments in favor of this solution it could be interesting. |
As Docker Desktop has recently... altered its terms (pray they do not alter them further), I've been looking into other cross-platform solutions as well for this kind of thing. minikube seems to be the most cross-platform approach at the bottom of the stack, as well as the most stable and well-documented. At the build level, skaffold keeps coming up, and might be worth a look for build, test, and push. It can use a "real"
|
Hello,
As discussed in two recents PR (#1196 and #1202) the current build seems to be too monolithic.
We should benefit from GitHub actions that have been introduced by @parente in PR #1132 and / or by proposal made by @bollwyvl in his comment. My first idea is to split the treatment of each image in different jobs that can be run in parallel (at least for some of them) with dependencies between them to achieve more flexibility. We could benefit from advanced features like artifact sharing to achieve this.
A job could be responsible of the whole stuff for an image:
All these cool new stuff with the ability to build things locally.
So this is not so simple, there is a lot of things to solve / decide but there is room for improvement 😄.
Best.
The text was updated successfully, but these errors were encountered: