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

Reorder pipeline stages for maximum parallelism #7077

Merged
merged 1 commit into from Oct 22, 2019

Conversation

christophermaier
Copy link
Contributor

While the windows-service package must be built after the Windows
Launcher package, there is nothing that prevents Launcher and
Supervisor packages from being built in parallel, since they are
mutually independent on a Habitat dependency level.

Similarly, none of the exporters depend directly on either the
Launcher or the Supervisor, so they can all be built at the same time
as those two packages.

Now, we build the Windows Service toward the end, alongside the
core/hab-pkg-cfize exporter, which itself has a hard dependency on
core/hab-pkg-export-docker.

By reordering these and building more packages in parallel, we should
be able to get through the entire pipeline in less overall time.

Signed-off-by: Christopher Maier cmaier@chef.io

While the `windows-service` package must be built after the Windows
Launcher package, there is nothing that prevents Launcher and
Supervisor packages from being built in parallel, since they are
mutually independent on a Habitat dependency level.

Similarly, none of the exporters depend directly on either the
Launcher or the Supervisor, so they can all be built at the same time
as those two packages.

Now, we build the Windows Service toward the end, alongside the
`core/hab-pkg-cfize` exporter, which itself has a hard dependency on
`core/hab-pkg-export-docker`.

By reordering these and building more packages in parallel, we should
be able to get through the entire pipeline in less overall time.

Signed-off-by: Christopher Maier <cmaier@chef.io>
@christophermaier christophermaier merged commit c185b9f into master Oct 22, 2019
@chef-expeditor chef-expeditor bot deleted the cm/pipeline-reordering branch October 22, 2019 17:26
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.

None yet

2 participants