10231: update arvados-cwl-runner for keep_cache_ram runtime_constrant.
[arvados.git] / sdk / cwl / arvados_cwl / arvcontainer.py
index 56f29c5cb1d1bc37db1e135e9e66778633a3047a..ed843477449554612597a1b6d1d6e6d0da4523fb 100644 (file)
@@ -97,7 +97,7 @@ class ArvadosContainer(object):
 
         runtime_req, _ = get_feature(self, "http://arvados.org/cwl#RuntimeConstraints")
         if runtime_req:
-            logger.warn("RuntimeConstraints not yet supported by container API")
+            runtime_constraints["keep_cache_ram"] = runtime_req["keep_cache"]
 
         partition_req, _ = get_feature(self, "http://arvados.org/cwl#PartitionRequirement")
         if partition_req: