WIP Update to allow for multiple backend selections#297
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @pxp928. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test |
|
The following is the coverage report on the affected files.
|
|
|
||
| ociEnabled = "artifact.oci.enabled" | ||
| ociFormatKey = "artifacts.oci.format" | ||
| ociStorageTektonKey = "artifacts.oci.storage.tekton" |
There was a problem hiding this comment.
I'm rethinking having a separate key for each backend now that I see it 🤔
It might be difficult to keep the config organized. The advantage of a comma-separated list is that it would be backwards compatible as well.
WDYT of doing that instead?
artifacts.oci.storage=tekton,gcs
and then if the value is empty artifacts.oci.storage="" then we assume that we don't want to store anything at all (which would address the issue in #279 as well)
There was a problem hiding this comment.
Yes I agree. The config does get very cluttered. Having a comma-separated would be the better way to go. Plus it would also require less unit test updates. Let me change to using that and I will re-push on this branch.
There was a problem hiding this comment.
thank you! we can keep the defaults as they are as well that way :)
57b930f to
6447c46
Compare
6447c46 to
839b312
Compare
|
The following is the coverage report on the affected files.
|
|
@pxp928: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Changes made to allow for multiple backend to be selected. If none are selected, that artifact is disabled. Work in progress. Tests need to be altered or rewritten based on how the solution is implemented.
Issue #279 and #288