Skip to content
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

Rethink our CI to avoid building all the docker images every time #3113

Open
kun-lu20 opened this issue Jun 28, 2021 · 2 comments
Open

Rethink our CI to avoid building all the docker images every time #3113

kun-lu20 opened this issue Jun 28, 2021 · 2 comments

Comments

@kun-lu20
Copy link
Contributor

Created from #2948 (comment)

The current situation is that our CI will build all the docker images every time. Since using docker buildx to build multi-arch images will be slower than regular build, we need to find an effective way to reduce the time penalty.

@jpkrohling suggests we should avoid building all the things all the time if we don't need them for the tests. We can then have a nightly build to publish the snapshot images.

@yurishkuro
Copy link
Member

It would be great if GitHub supported stages of CI, so that we don't run every single thing under the sun before the basic checks like linters & unit tests are successful.

@jpkrohling
Copy link
Contributor

I think it does support dependencies between jobs. We could then have smoke-tests running before, and full tests running after that. I still think that we don't need the full suite for every single PR. A nightly build, with the option of being manually triggered just before a release, would be sufficient, in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants