fabric8-pipeline-library
fabric8-pipeline-library copied to clipboard
new function to promote the release to all the environments in order with optional human approval
we define the environments for a team in the fabric8-environments
ConfigMap
Rather than having lots of different jobs that include Staging and/or Production, it might be just nice to have a PromoteAll job and function that promotes a release to all environments that are defined in the ConfigMap
?
Possibly adding an include/exclude list too? e.g. you typically wanna exclude Test
.
So something like
promoteToEnviroments()
which default to something like
promoteToEnviroments(excludes=['Test'], includes=['*'])
Or something like that?