You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a scenario and need the best approach to deal with it.
we create a feature branch with some changes and merge it with the main branch to trigger the publisher pipeline.
What will happen when the feature branch is merged to the main branch but the publisher pipeline fails? How do you undo merge and merge it again with some additional changes?
Do you suggest any best practices in this scenario? Can you support revert merge in the Publisher pipeline if It fails ? This will help to merge it again into the main branch
Expected behavior
Revert/undo the merge if publisher pipeline fails. Do you suggest any best way to revert the merge incase of failure ?
Actual behavior
The feature branch is getting merged to the Main branch even if the publisher pipeline fails. This creates a lot of issues when redeploying the changes to the main branch.
Publishing all repo content should not be the solution as It is a resource-intensive operation.
Reproduction Steps
Create a feature branch with some changes.
Make a PR to the main branch.
Publisher pipeline fails due to some reason.
How to undo the previous changes so that we can again do PR with additional changes?
The text was updated successfully, but these errors were encountered:
Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
Agree with @shawnyu5. The publisher is simply driven by the changes included in the last commit. It's up to you to utilize Git to drive the behavior of the publisher. We offer two options with the publisher, which is either to publish everything or publish against a specific commit ID for the UI default but you are at liberty to take that pipeline and customize it the way you see fit for your own environment.
Release version
All version
Question Details
I have a scenario and need the best approach to deal with it.
we create a feature branch with some changes and merge it with the main branch to trigger the publisher pipeline.
What will happen when the feature branch is merged to the main branch but the publisher pipeline fails? How do you undo merge and merge it again with some additional changes?
Do you suggest any best practices in this scenario? Can you support revert merge in the Publisher pipeline if It fails ? This will help to merge it again into the main branch
Expected behavior
Revert/undo the merge if publisher pipeline fails. Do you suggest any best way to revert the merge incase of failure ?
Actual behavior
The feature branch is getting merged to the Main branch even if the publisher pipeline fails. This creates a lot of issues when redeploying the changes to the main branch.
Publishing all repo content should not be the solution as It is a resource-intensive operation.
Reproduction Steps
The text was updated successfully, but these errors were encountered: