Merge plugin-group manifest automatically when building individual plugins with the builder
plugin
#644
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it
Before this change, when a user tried to build plugins individually the content of the
plugin_group_manifest.yaml
file was getting overwritten with each plugin build command.After this change, if the
plugin_group_manifest.yaml
file already exists under the artifacts directory, building a new plugin will merge the plugin information into the existingplugin_group_manifest.yaml
file. And if a user is building a plugin that exists in theplugin_group_manifest.yaml
file with a different version, the content of theplugin_group_manifest.yaml
will get updated with the newer version of the plugin.Note: As part of #454, This issue was resolved for plugin_bundle creation along with
plugin_manifest.yaml
. However, that change was not handling the updates to theplugin_group_manifest.yaml
correctly.Which issue(s) this PR fixes
Fixes #
Describe testing done for PR
Release note
Additional information
Special notes for your reviewer