Creational design pattern used in CI/CD
In Chapter 9, we discussed the theory and implementation of creational patterns. We also mentioned IaC and configuration, so here, we will focus on this aspect through the lens of creational patterns. There is another reason, too. In this chapter, we will navigate through cloud providers and while the application deployed on any cloud will be relatively similar, the underlying infrastructure, configuration, and so on will be significantly different.
In Chapter 4, we presented various approaches that are the foundation of creational design patterns mentioned in the previous chapter. To remind you, these patterns are as follows: the factory method, abstract method, singleton, prototype, and builder patterns. Repo design, dependencies management, modularity (Chapter 4), and so on are key elements of consistency, scalability, efficiency, and rapid prototyping (Chapter 9).
In this chapter, we will combine the knowledge we have learned and apply...