forked from argoproj/argo-rollouts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change completed condition so it only triggers on pod hash chang…
…es also adds an event for when it does changes. (argoproj#2203) * feat: add healthy event/condition and fix completed event/condition Signed-off-by: zachaller <zachaller@hotmail.com> * fix unit tests Signed-off-by: zachaller <zachaller@hotmail.com> * rename vars to make more sense and remove healthy event becase it will never be consistent Signed-off-by: zachaller <zachaller@hotmail.com> * fix unit tests Signed-off-by: zachaller <zachaller@hotmail.com> * possible fix for e2e Signed-off-by: zachaller <zachaller@hotmail.com> * fix e2e Signed-off-by: zachaller <zachaller@hotmail.com> * unit test for complete function Signed-off-by: zachaller <zachaller@hotmail.com> * small cleanup and changes to not check generation Signed-off-by: zachaller <zachaller@hotmail.com> * fix unit test and proper behavior Signed-off-by: zachaller <zachaller@hotmail.com> * Fix e2e Signed-off-by: zachaller <zachaller@hotmail.com> * rename and fix one unit test Signed-off-by: zachaller <zachaller@hotmail.com> * fix unit tests Signed-off-by: zachaller <zachaller@hotmail.com> * fix unit test Signed-off-by: zachaller <zachaller@hotmail.com> * add seperate test for TestRolloutComplete Signed-off-by: zachaller <zachaller@hotmail.com> * renames Signed-off-by: zachaller <zachaller@hotmail.com> * fix e2e Signed-off-by: zachaller <zachaller@hotmail.com> * Set Completed to false Signed-off-by: zachaller <zachaller@hotmail.com> * Add event Signed-off-by: zachaller <zachaller@hotmail.com> * fix e2e Signed-off-by: zachaller <zachaller@hotmail.com> * refactor Signed-off-by: zachaller <zachaller@hotmail.com> * Fix all but one unit test Signed-off-by: zachaller <zachaller@hotmail.com> * fix last unit test Signed-off-by: zachaller <zachaller@hotmail.com> * lint Signed-off-by: zachaller <zachaller@hotmail.com> * cleanup Signed-off-by: zachaller <zachaller@hotmail.com> * Rename Signed-off-by: zachaller <zachaller@hotmail.com> * More renames Signed-off-by: zachaller <zachaller@hotmail.com> * small comment change Signed-off-by: zachaller <zachaller@hotmail.com> Signed-off-by: zachaller <zachaller@hotmail.com> Signed-off-by: Xijun Dai <daixijun1990@gmail.com>
- Loading branch information
Showing
12 changed files
with
358 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.