Ensure that all CWL have dockerPull?
Summary
That currently dockerPull
is only replaced in all CWL, not inserted.
So CWL which does not declare any image will not have the image in the published version.
I am not sure that's what we need. Maybe.
Is it the case that all CWL specs from a given pipeline will use one single pipeline image? Or could there be tools without image?
We could just add requirements.dockerPull
. But I hesitate to edit CWL automatically more. It would mean accounting for existing requirements/hints, different structures. It would probably have to be done in python, but it would still be error-prone, and re-dumping CWL would change the yaml formatting.
So instead, if we really need all CWL to have image, we could fail if CWL has no image when in the repository?
Note that all the helm and docker version substitution is usually really substitution, not adding version strings. Again, because it's error-prone.