-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[mesheryctl] Removal of the onboard
Sub-command from Mesheryctl Pattern
Command
#10929
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@singh1203 will you list the various test scenarios that you've tried and their results?
Currently haven't tested various scenarios, but will prioritize doing so ASAP and exploring different tests I can run. |
Any scenarios and results to report, @singh1203? |
Certainly! Here is a list of the various test scenarios and their results for the
|
@singh1203, good progress. Send word when the tests are passing. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #10929 +/- ##
==========================================
- Coverage 9.11% 8.86% -0.25%
==========================================
Files 146 145 -1
Lines 19303 19144 -159
==========================================
- Hits 1760 1698 -62
+ Misses 17241 17163 -78
+ Partials 302 283 -19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
84cf437
to
a2d3020
Compare
@leecalcote Implementing design pattern with pattern subcommands, but encountering server error (500) every time. I've Updated scenario condition above, but error persists. |
Will you confirm that you can successfully deploy this pattern via Meshery UI? |
If not, trying using a simple design that you are confident has no deployment issues. |
Pattern_clip.mp4I hope this clip addresses your question! |
a2d3020
to
78e1a56
Compare
5616aee
to
a74f36f
Compare
@lekaf974 Surely your eyes can see imperfections here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing documentation update in docs/_data/mesheryctlcommands/cmds.yml
Example in ~ mesheryctl]$ ./mesheryctl pattern delete --help
delete pattern file will trigger deletion of the pattern file
Usage:
mesheryctl pattern delete [flags]
Examples:
// delete a pattern file
mesheryctl pattern delete [file | URL]
Flags:
-f, --file string Path to pattern file
-h, --help help for delete
Global Flags:
--config string path to config file (default "/home/matthieu/.meshery/config.yaml")
-t, --token string Path to token file default from current context
-v, --verbose verbose output |
Looks Argurment validation is missing on delete sub-command [~ mesheryctl]$ ./mesheryctl pattern delete
Access to this resource is unauthorized.
Access to this resource is unauthorized.
delete without any args/flags is making 2 calls to the backend Could add a check to validate name args or --file flag is given following this example
|
cc44e47
to
dddc459
Compare
🚀 Preview for commit dddc459 at: https://666f1e8130c66017f86b38af--meshery-docs-preview.netlify.app |
} | ||
return nil | ||
}, | ||
Args: cobra.MinimumNArgs(0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use same implementation for Args
that you made in the delete sub command for UX consistency
🚀 Preview for commit bc5f560 at: https://66729bac6a08c6e206eb4dc6--meshery-docs-preview.netlify.app |
@singh1203 all comments resolved? |
🚀 Preview for commit 1ecb940 at: https://667f8c5acaa5b7cec5f0daed--meshery-docs-preview.netlify.app |
Yes, almost all of it is now working regarding your suggestion of confirming a particular environment before applying and deleting any pattern(design). |
Signed-off-by: Saurabh Kumar Singh <singh1203.ss@gmail.com>
Signed-off-by: Saurabh Kumar Singh <singh1203.ss@gmail.com>
Signed-off-by: Saurabh Kumar Singh <singh1203.ss@gmail.com>
Signed-off-by: Saurabh Kumar Singh <singh1203.ss@gmail.com>
Signed-off-by: Saurabh Kumar Singh <singh1203.ss@gmail.com>
Signed-off-by: Saurabh Kumar Singh <singh1203.ss@gmail.com>
Signed-off-by: Saurabh Kumar Singh <singh1203.ss@gmail.com>
7ba1cd9
to
21c7d22
Compare
🚀 Preview for commit 21c7d22 at: https://66819b09fab9d05c14b7b189--meshery-docs-preview.netlify.app |
Notes for Reviewers
This PR fixes #10886
Signed commits