-
Notifications
You must be signed in to change notification settings - Fork 126
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
fix(lifecycle-operator): retrieve KeptnEvaluationDefinition before creating KeptnEvaluation #3144
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3144 +/- ##
==========================================
+ Coverage 85.75% 86.77% +1.02%
==========================================
Files 162 162
Lines 10351 8607 -1744
==========================================
- Hits 8876 7469 -1407
+ Misses 1186 846 -340
- Partials 289 292 +3
... and 137 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
…eating KeptnEvaluation Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Quality Gate passedIssues Measures |
will you have a separate PR for Tasks? I thought we also have this Unknown state for that controller 🤔 |
No for the tasks it works. I added an integration test to confirm it. No code changes needed there. See here the adapted test for example https://github.com/keptn/lifecycle-toolkit/pull/3144/files#diff-2cf9722b1b36ffc6e553da4aa607e485d9e80f6a8550f170fbeba180ee8bf4f8R10 |
Have not checked the task code but I am confused, wasn't that test already passing with Unknown? Doesn't that mean that the state is initially Pending by default and then changed to Unkown when the task definition is not found? So the current integration test just exits immediately before the state is changed to unknown? |
…eating KeptnEvaluation (keptn#3144) Signed-off-by: odubajDT <[email protected]> Signed-off-by: vickysomtee <[email protected]>
Changes