Bpdispatcher is a middleware server that receives a generic webhook from the fluxcd notification controller and triggers the bitbucket cloud pipeline with parameters from the received webhook
Probably you want to promote HelmRelease version from staging to the production environment. Flux provides native support for GitHub dispatcher, but no options for bitbucket.
With Bpdispatcher you can use Generic Webhook from Flux and trigger any bitbucket pipeline with the same automation.
-
Install
-
Bitbucket pipeline:
- pipeline should be named pr-promotion under custom section (pipeline template)
-
FluxCD Provider and Alert: