This section is pipeline inception. Wouldn't it be good if the pipeline only existed when we needed it? This would save costs and make our environments simpler. Often, we will have a branch for a particular build or release candidate that we need to run tests on before merging it into the trunk branch. If you're following the GitFlow versioning and release strategy, release candidate branches have a limited lifetime and can be deleted once a release has been tagged and the branch has been merged. It would be great if we could set up some automation to do that process for us when we need it.
The following is our GitFlow example for a release candidate (RC) branch that splits from the master and is then merged ...