Enable feature flag for API driven CLIPlugin Discovery#1144
Enable feature flag for API driven CLIPlugin Discovery#1144anujc25 merged 7 commits intovmware-tanzu:mainfrom
Conversation
|
Cluster Generation A/B Results: |
c0f4c8f to
283d4f2
Compare
|
Cluster Generation A/B Results: |
283d4f2 to
377c87f
Compare
|
Cluster Generation A/B Results: |
377c87f to
54ac182
Compare
|
Cluster Generation A/B Results: |
54ac182 to
f1796f1
Compare
|
Cluster Generation A/B Results: |
f1796f1 to
33411f2
Compare
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
ab9c7da to
98ceae9
Compare
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
e438f61 to
37683e9
Compare
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
imikushin
left a comment
There was a problem hiding this comment.
Except for a few microscopic comments, looks great!
37683e9 to
01fe5b1
Compare
|
Cluster Generation A/B Results: |
vuil
left a comment
There was a problem hiding this comment.
lgtm, some minor typographical stuff, feel free to address as a followup.
Also, another nit: it wasn't perfect before, but all the new makefile targets have turned
make build-<tab> output quite menacing :-)
and introduced a bunch of misalignments in the
make help output
01fe5b1 to
25f2644
Compare
|
Cluster Generation A/B Results: |
- Enables the API-driven CLI plugin discovery by default - Update the Makefile to support local development workflow
- Refactor the populate default standalone discovery logic - Update default local discovery name to 'default-local'
25f2644 to
cb07e60
Compare
|
Cluster Generation A/B Results: |
What this PR does / why we need it
Currently, the feature flag for API-driven CLIPlugin discovery also known as Context-Aware-Discovery is turned off by default.
This PR turns on this feature flag by default.
Changes:
Makefileto add/update targets to build CLI with feature flag enabledENABLE_CONTEXT_AWARE_PLUGIN_DISCOVERYto enable/disable context-aware discoveryDEFAULT_STANDALONE_DISCOVERY_TYPEto use local/oci discovery type when building CLIPlugin Testspipeline still uses non-context-aware discovery for testingBug Fixes:
tanzu plugin listetc operation can report correct statustanzu plugin cleanNOTE: Developers using the pre-release CLI, might have the feature flag disabled in the config file and might have to enable it manually by running
tanzu config set features.global.context-aware-discovery trueonce. Because the previous default value of the flag wasfalseWhich issue(s) this PR fixes
Fixes #1150
Describe testing done for PR
sync,install,listcommands with local, oci discoveryRelease note
PR Checklist
Additional information
Special notes for your reviewer