Speeding up your builds with parallel processes
If your application takes 5 minutes to build and install for each architecture but each architecture is independent, then it makes sense that independent images can be built in parallel to save time. Best practices should be able to guide logical isolation where we can maximize parallel builds. We can easily identify some guidelines for this. Divide your strategy into three layers – infrastructure, platform, and application. Other layers are up to the developer to test. Simple pattern layers are as follows:
- Infrastructure: The cloud/hypervisor or infrastructure used to run your platform.
- Platform: Operating systems (OSs) and golden images.
- Application: Images to deploy on top of your platform.
For each infrastructure, you may run a build independently. Your image should not behave differently on AWS, Azure, GCP, or on-premises hypervisor. Each infrastructure option should behave independently. This means...