This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
Error message: Can we improve error message on API errors due to shipyard parsing #6592
Closed
2 of 13 tasks
Your issue may already be reported! Please search on the issue tracker before creating a new one.
Environment
Any keptn installation
keptn version
): 0.11.4kubectl version
):1.20.9Affected Component
Describe the bug
If you shipyard.yaml is not properly formatted .e.g indentiation, then you will receive and API error "sequence tasks not iterable" message . As a result, you might have later (e.g. webhook or job-executor service) when trying to configure event subscriptions in the bridge
To Reproduce
Steps to reproduce the behavior:
Note, that the evaluation task in the simple_evaluation sequence should have indentation for this to work properly e.g.
Expected behavior
Perhaps a more clear error mesasge like:
"The API cannot iterate though the tasks in your sequence : {sequence name}. Please verify that your shipyard.yaml is correct. Ensure to check indentation and format."
Current behavior
API error given is "sequence tasks not iterable" and error is not handled with clear message on the UI
Screenshots
Additional context
N/A
The text was updated successfully, but these errors were encountered: