-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Parallelize client and server builds in dockerfile #11161
Parallelize client and server builds in dockerfile #11161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, can you also verify https://github.com/galaxyproject/galaxy/pull/11161/files#r559193525 ?
It may make sense to include this in 21.01 as well, since it could significantly speed up build times? |
No problem, I will backport it. |
This PR was merged without a "kind/" label, please correct. |
This PR modifies the k8s docker file so that client and server build stages are built in parallel, reducing total build time.
The uncached build time prior to this is ~18.5 minutes locally, which reduces to ~12.5 minutes, a ~33% reduction.
On dockerhub, there appears to be no benefit, as the builds don't seem to be parallelised in the free version.
This PR is dependent on: galaxyproject/ansible-galaxy#120