-
Notifications
You must be signed in to change notification settings - Fork 157
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
Sort results of plan-preview #5540
Conversation
b999433
to
343a5e1
Compare
4615cc4
to
910bf2f
Compare
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.
@kj455
Thank you so much!!
Please fix the lint error as follows.
I'm still checking the logic (basically, your code seems great)
Signed-off-by: kj455 <[email protected]>
Signed-off-by: kj455 <[email protected]>
Signed-off-by: kj455 <[email protected]>
910bf2f
to
cd13d3b
Compare
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.
Thank you so much, I'd like to propose moving the code for customizability.
Signed-off-by: kj455 <[email protected]>
8d15fc2
to
bc83f74
Compare
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.
Thank you so much!!! It will work well.
Please add some tests and check if they result as you expect 🙏
Signed-off-by: kj455 <[email protected]>
1bf47e1
to
14b52df
Compare
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.
Thank you so much!!!!
(I'm sorry for changing the way again and again 🙏 )
TODO:
- update docs
- add options in the GitHub action
Signed-off-by: kj455 <[email protected]>
@t-kikuc I really appreciate your help in shaping the implementation policy for this PR.
I have updated the documentation:
I have submitted a PR for this! |
Signed-off-by: kj455 <[email protected]>
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.
LGreatTM
Thank you so much
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! Thank you!
* Sort results of plan-preview Signed-off-by: kj455 <[email protected]> * Ensure the order of list piped Signed-off-by: kj455 <[email protected]> * fix: lint Signed-off-by: kj455 <[email protected]> * fix: move sorting to pipectl Signed-off-by: kj455 <[email protected]> * fix: add testcase Signed-off-by: kj455 <[email protected]> * fix: dev docs Signed-off-by: kj455 <[email protected]> * add docs Signed-off-by: kj455 <[email protected]> --------- Signed-off-by: kj455 <[email protected]> Signed-off-by: pipecd-bot <[email protected]>
* Sort results of plan-preview Signed-off-by: kj455 <[email protected]> * Ensure the order of list piped Signed-off-by: kj455 <[email protected]> * fix: lint Signed-off-by: kj455 <[email protected]> * fix: move sorting to pipectl Signed-off-by: kj455 <[email protected]> * fix: add testcase Signed-off-by: kj455 <[email protected]> * fix: dev docs Signed-off-by: kj455 <[email protected]> * add docs Signed-off-by: kj455 <[email protected]> --------- Signed-off-by: kj455 <[email protected]> Signed-off-by: pipecd-bot <[email protected]>
* Correct notification routing for `DEPLOYMENT_STARTED` (#5523) * Correct notification routing for `DEPLOYMENT_STARTED` Signed-off-by: Yuki Okushi <[email protected]> * Harden test case Signed-off-by: Yuki Okushi <[email protected]> --------- Signed-off-by: Yuki Okushi <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Sort results of plan-preview (#5540) * Sort results of plan-preview Signed-off-by: kj455 <[email protected]> * Ensure the order of list piped Signed-off-by: kj455 <[email protected]> * fix: lint Signed-off-by: kj455 <[email protected]> * fix: move sorting to pipectl Signed-off-by: kj455 <[email protected]> * fix: add testcase Signed-off-by: kj455 <[email protected]> * fix: dev docs Signed-off-by: kj455 <[email protected]> * add docs Signed-off-by: kj455 <[email protected]> --------- Signed-off-by: kj455 <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Enhanced EventWatcher logs (#5558) * Show push error log earlier than reporting Signed-off-by: t-kikuc <[email protected]> * Use WarnLog in retry Signed-off-by: t-kikuc <[email protected]> * clarify log messages Signed-off-by: t-kikuc <[email protected]> * clarify log messages Signed-off-by: t-kikuc <[email protected]> * add TestDoCalls for asserting counts Signed-off-by: t-kikuc <[email protected]> * add eventIDs in log Signed-off-by: t-kikuc <[email protected]> * enrich logs in updateValues Signed-off-by: t-kikuc <[email protected]> * nits Signed-off-by: t-kikuc <[email protected]> * Revert "add TestDoCalls for asserting counts" This reverts commit de3f112. Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * update RELEASE to v0.50.2 with doc update (#5571) Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> --------- Signed-off-by: Yuki Okushi <[email protected]> Signed-off-by: pipecd-bot <[email protected]> Signed-off-by: kj455 <[email protected]> Signed-off-by: t-kikuc <[email protected]> Co-authored-by: Yuki Okushi <[email protected]> Co-authored-by: Ibuki Kaji <[email protected]> Co-authored-by: Tetsuya KIKUCHI <[email protected]>
What this PR does:
Adds the
sort-key-labels
feature topipectl plan-preview
.The order of plan-preview results:
Why we need it:
A sorted output would improve readability and facilitate easier identification of the modifications being made.
Which issue(s) this PR fixes:
Fixes #5539
Does this PR introduce a user-facing change?: