simple support for disabling uploaders #567
Merged
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.
Description
This PR introduces the option
--disable-uploads
for the commandocm transfer components
.If combined with
--copy-resources
it can be used to provide a completely self-contained component version artifact on the target side of the transport. All resources (or sources with--copy-sources
) will be stored as local blobson the target side.
If the target is an OCI registry, the complete content of a component version is stored in a single OCI artifact
This transport mode is intended to be used for the RBSC upload tools intended to be used to uniformly publish SAP OCM components via the repository based shipment channel.
Attention: This is a quick-win implementation of this feature just disabling the uploaders in the context.
A better implementation would provide this feature via transport option for the transport handler.
This would mean to add appropriate options to the CV interface and will be done after the redesign of the
implementation support for OCM storage backends,
What type of PR is this? (check all applicable)
Related Tickets & Documents
Screenshots
Added tests?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?
Checklist: