Skip to content

Feat - Parellel builds to reduce build time - #1562

Merged
eldadfux merged 10 commits into
masterfrom
feat-parallel-build
Sep 19, 2021
Merged

eldadfux merged 10 commits into
masterfrom
feat-parallel-build

Conversation

@kodumbeats

@kodumbeats kodumbeats commented Sep 1, 2021 •

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR makes a few changes to the structure of the Dockerfile and Travis config to allow for much faster builds:

  • Uses buildkit as the build engine, which is much better at running builds in parallel
  • Breaks the compile step into multiple stages, since we can use a previous stage as a new stage
  • Renames stages to be descriptive, instead of serial.
  • Calls docker-compose pull before bringing the stack up, which pulls images in parallel

Test Plan

Test suite will demonstrate the build change is successful.

TODO

Related PRs and Issues

#714

Have you read the Contributing Guidelines on issues?

Yes.

@kodumbeats
kodumbeats marked this pull request as ready for review September 9, 2021 13:05
Comment thread .travis.yml Resolved
@kodumbeats

Copy link
Copy Markdown
Contributor Author

Upstream issue: moby/moby#41864

@kodumbeats

Copy link
Copy Markdown
Contributor Author

Is master the correct target branch for this?

@eldadfux
eldadfux merged commit f4bdc60 into master Sep 19, 2021
@stnguyen90
stnguyen90 deleted the feat-parallel-build branch February 14, 2023 01:00
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

Successfully merging this pull request may close these issues.

3 participants