Delivery best practices
In this section, we will get to the core theme of this book: the delivery process itself. We will discuss some best practices that can help you to improve your delivery process and build a process suitable for your needs.
Pipeline as Code
Throughout this book, we discussed some examples of codified configuration such as IaC and Declarative Configuration in GitOps. This approach can and should also be applied to the delivery process itself. This means that you should avoid configuring your delivery process in a UI (ClickOps) and instead configure it in a declarative way. This provides the big two advantages that your delivery process is versioned and that you can easily reproduce it. Furthermore, it also makes it easier to test your delivery process and run it locally, along with finding and fixing bugs.
Treat every build as a release candidate
In the past, it was common to have a pipeline that built some artifacts that were considered for testing...