-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Reduce code duplicacy in chaos-workflow package (#4010)
* feat: helper to update manifest labels Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * refractor: use to update manifest labels helper Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * feat: helper to generate weights from manifests Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * refractor: use helper function to generate weights Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * refractor: update fault weight function name Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * fix: set fault weights to manifest Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * fix: return error as well Co-authored-by: Amit Kumar Das <amit.das@harness.io> Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * refractor: simplify manifest lables update logic Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * fix: manifest labels update logic Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * refractor: remove unused labels variable from generateFualtWeights() Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> * refractor: use update manifest function in cronworkflow Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> --------- Signed-off-by: SohamRatnaparkhi <soham.ratnaparkhi@gmail.com> Co-authored-by: Amit Kumar Das <amit.das@harness.io>
- Loading branch information
1 parent
adf92ba
commit fdf5113
Showing
1 changed file
with
54 additions
and
138 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