Closed tiborsimko closed 7 months ago
1) If we go for fuller validation of workflow.specification.steps
for Serial workflows, then here is I think the fairly complete list of clauses that we allow in the Serial steps specification:
If you encounter something else, then a WARNING should be emitted. (But no ERROR so that we can add new optional keywords to the list and so that old clients would work with newer servers.)
2) We could also configure a list of keywords that should not be there in workflow.specification.steps
for the Serial workflow engine in order to catch some common troubles:
3) We could also validate top-level workflow.resources
clause that may be empty or may contain one of the following:
Great list, thanks!
- kubernetes_job_timeout: string
Since it's the number of seconds, this should be an integer, right? (https://docs.reana.io/advanced-usage/compute-backends/kubernetes/#custom-job-timeouts)
The following Serial workflow is wrong; note the misplaced "environment" clause for the first step:
However it appears to pass the validation:
And the execution obviously fails: