gitops-promotion icon indicating copy to clipboard operation
gitops-promotion copied to clipboard

Azure DevOps: gitops-promotion not working when policy is enforcing squash merge

Open simongottschlag opened this issue 4 years ago • 2 comments

Azure DevOps: gitops-promotion not working when policy is enforcing squash merge

simongottschlag avatar Jul 01 '21 08:07 simongottschlag

What did you expect to happen and what actually transpires?

bittrance avatar Jul 01 '21 08:07 bittrance

@bittrance end-user reported that when they have set a policy in Azure DevOps to only allow squash merge in their GitOps repo, gitops-promotion stops working. This is most likely due to gitops-promotion not setting the merge policy and using the default. (Which I think is no fast forward)

We need to make it configurable through the gitops-promotion.yaml.

simongottschlag avatar Jul 01 '21 16:07 simongottschlag