-
Notifications
You must be signed in to change notification settings - Fork 176
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
Document a way to paralellize multiarch builds #54
Comments
Well, Tecnativa/ci-base#2 finally passed and built after 4:34h. There's gotta be a faster way... 🤔 |
You could use a self-hosted runner but in the near future you will be able to configure CPU cores, RAM, disk space for the runner (see github/roadmap#161). You could also use multiple native nodes through self-hosted runners.
No need to do that, multi-platform build is already parallelized. |
That's completely false for this action, it builds each image sequentially. |
Behaviour
Recently I had this multiarch build that took 1:27h to report a build failure in one arch.
It seems GH runners have 2 CPU, which makes a simple multiarch build such as that one (using 5 platforms) awfully slow.
My guess (which might be wrong) is that it should be possible to use 1 runner per arch and merge the resulting images in a single multiarch one.
Steps to reproduce this issue
Expected behaviour
It shouldn't be extremely slow.
Actual behaviour
It is extremely slow.
Configuration
Logs
logs_41.zip
@joao-p-marques @Tecnativa TT25794
The text was updated successfully, but these errors were encountered: