https://garden.io logo
#🌱|help-and-getting-started
Ways to speed up a Garden deployment/Unit test
# 🌱|help-and-getting-started
b

bright-policeman-43626

03/22/2024, 6:36 PM
So I'm using Garden to deploy into a CI environment, I build the images using Local docker and then push the images to GCR and deploy to EKS cluster where I run a task that bootstrap a couple of microservices, databases and runs unit tests. So far everything is SMOOTH so we can do this without any hiccups, but we noticed that our CI went from 3 Minutes with Docker-compose to about 7 minutes with Garden. How would you go about improving the speed of your deployments?
b

big-spring-14945

04/02/2024, 11:53 AM
@bright-policeman-43626 It depends on what makes it slower. Is it uploading the images, or is it something else like waiting for deployments? Can you share more details about what exactly is slow, and what you feel is unnecessarily slow compared to docker-compose?
b

bright-policeman-43626

04/03/2024, 3:33 PM
It seems like the piece slowing me down is the pushing to ECR, it's taking a couple of minutes pushing those images there, and then pulling them down in the cluster? Is there an easy way to fix that? Thanks @big-spring-14945
b

big-spring-14945

04/09/2024, 1:48 PM
@bright-policeman-43626 You can use remote builder, if your internet connection is slowing things down and you can make the image smaller.
We are also working on a drop-in "cloudbuilder" that makes caching and uploading to the registry way faster (by caching on local NVME disks, and uploading from a fast server). Would you be interested in that?
b

bright-policeman-43626

04/09/2024, 3:43 PM
That would be nicee
The image is a bit large because it includes devTools for npm
2 Views