Skip to content
Snippets Groups Projects
Commit b76ddf0d authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #8437: Read docker tag from parset, fall back to same version as PipelineControl

parent 45f6a9dd
No related branches found
No related tags found
No related merge requests found
......@@ -123,8 +123,9 @@ class Parset(dict):
return self[PARSET_PREFIX + "Observation.Cluster.ProcessingCluster.clusterName"] or "CEP2"
def dockerTag(self):
# For now, return OUR tag
return runCommand("docker-template", "${LOFAR_TAG}")
# Return the version set in the parset, and fall back to our own version.
return (self[PARSET_PREFIX + "Observation.ObservationControl.PythonControl.softwareVersion"] or
runCommand("docker-template", "${LOFAR_TAG}"))
def slurmJobName(self):
return str(self.treeId())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment