-
Notifications
You must be signed in to change notification settings - Fork 6.4k
feat: Support delete-resource command in cli #7093
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
Conversation
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
91f7f1b
to
b50ad53
Compare
Thanks @yeya24! This looks like it could use some end-to-end tests along with it, would you be willing to add some? |
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.
Looks good. Thank you for the useful feature!
Codecov Report
@@ Coverage Diff @@
## master #7093 +/- ##
==========================================
- Coverage 41.08% 41.06% -0.03%
==========================================
Files 158 158
Lines 21349 21274 -75
==========================================
- Hits 8772 8736 -36
+ Misses 11311 11285 -26
+ Partials 1266 1253 -13
Continue to review full report at Codecov.
|
Codegen CI task failed. You can fix it using argo-cd/test/e2e/app_management_test.go Line 102 in 9559613
E.g.
|
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
ctx. | ||
Path(guestbookPath). | ||
When(). | ||
Create(). |
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.
I think the test is failing because .Sync()
is missing.
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.
Thanks. Updated.
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.
LGTM
* feat: support delete-resource command in argocd cli Signed-off-by: Ben Ye <ben.ye@bytedance.com> * add E2E test and fix documents Signed-off-by: Ben Ye <ben.ye@bytedance.com> * sync app Signed-off-by: Ben Ye <ben.ye@bytedance.com> Signed-off-by: viktorplakida <plakyda1@gmail.com>
Signed-off-by: Ben Ye ben.ye@bytedance.com
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist: