You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
return"", "", errors.New("evaluation.triggered event does not contain evaluation timeframe")
}
Note: start should be inferred from the current cloudevent evaluation.triggered timestamp. end should be calculated as start - timeframe.
This is currently handled in API and should be refactored accordingly:
Follow up of #4075
As a user, I want to be able to specify a timeframe for an evaluation, e.g.:
This needs to be implemented in lighthouse-service, e.g., here:
keptn/lighthouse-service/event_handler/start_evaluation_handler.go
Lines 145 to 152 in 94dfd0a
Note:
startshould be inferred from the current cloudevent evaluation.triggered timestamp.endshould be calculated asstart - timeframe.This is currently handled in API and should be refactored accordingly:
keptn/api/handlers/evaluation.go
Lines 84 to 131 in 069dd0f
Definition of Done
evaluation.timeframein addition totest.start,test.end,evaluation.startandevaluation.endevaluation.triggeredcloudevent needs to be adapted to also includetimeframe