-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Questoin] Publishing with "all artifacts" option does not support subtractive changes #596
Comments
|
If you delete an item as part of the commit then it will be deleted from the target environment that the publisher is publishing to. Remember that the publisher picks up the last commit. So if you delete something part of commit 1 and then do something else as part of commit 2 then the only thing that will be published is what is part of commit 2. |
I see. Thank you for the quick response. Are there any plans to support a full-sync with the remote instance? We have also encountered situations where resources with dependencies on other resources are not deleted in the correct order if we want to delete both at once, which requires a multi-stage deployment and is not ideal. This is especially problematic when doing deployments that require deletion of sensitive resources (consider deleting a product and an API route that uses that product). |
Release version
v5.1.4
Describe the bug
When running the publisher, my expectation is that artifacts that do not exist in the source, should be deleted from the remote APIM instance if they exist. This does not seem to be the case. After making multiple changes and then publishing "all artifacts" artifacts that were removed n commits ago remain in the remote instance.
Expected behavior
I expect that artifacts that are in the remote APIM instance but not the artifact repo, should be removed.
Actual behavior
The artifacts are not removed from the remote instance.
Reproduction Steps
The text was updated successfully, but these errors were encountered: