Hi, I want to implement following pattern for build pipeline:
merge to main:
stage1: build and deploy to DEV env
stage2: request approvals from specific people and deploy to PROD env
I don't see a way "enable required approvals" for deployment to specific env, what would be the closest equivalent for this in bitbucket pipelines?
Hi Aurimas,
I'm afraid that there is no such concept as approval for a certain stage or a step of a Pipelines build. The closest thing would be a manual trigger and deployment permissions:
With a manual trigger, someone will need to manually trigger the second stage. If the repo belongs to a workspace on the Premium plan and you define a deployment environment for that stage, you can make use of the option Only allow admins to deploy to this environment (from Repository settings > Deployments > select the deployment environment you use for this stage) so that only admins can trigger the stage.
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.