Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reduce time it takes to build all images #50

Closed
jose5918 opened this issue Apr 17, 2018 · 5 comments
Closed

Reduce time it takes to build all images #50

jose5918 opened this issue Apr 17, 2018 · 5 comments

Comments

@jose5918
Copy link

Takes a long time to build all images. There are several ways to speed up the e2e tests.

The easiest way, with the least benefit, would be to add a .glcoudignore file like in the other repos. This will prevent uploading the entire vendor directory every time you submit a docker build to gcloud.

The second would be to run container builds in parallel using argo rather than sequentially.

Any other ideas?

@gaocegege
Copy link
Member

gaocegege commented Apr 17, 2018

I think we could remove go build statements since we will build them again when building the images.

@gaocegege
Copy link
Member

@gaocegege a few of things that can be done here. Pull the image golang:alpine and push it to gcr.io to reduce number of pull failures. Retry on build failures, and add a .gcloudignore to your repository. Even better would be to add a retry and run your container builds in parallel to reduce the points of failure.

@YujiOshima
Copy link
Contributor

I will address this right now.

@gaocegege
Copy link
Member

Thanks 👍

😄

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants