From 0d457d30c105d78d120e2a8259cdc1264faf3833 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sun, 17 Aug 2014 18:43:54 -0400 Subject: [PATCH] Dynamic destinations - easier, high-level reasoning about docker tool support. Added supports_docker function to RuleHelper for use in dynamic destination rules. Add a very simple stock dynamic destination type (docker_dispatcher) that will send all jobs into either a docker enabled destination or a vanilla destination depending on whether the tool being mapped supports docker (at this time that means is annotated explicitly with a container id). --- job_conf.xml.sample_advanced | 11 +++++++++++ lib/galaxy/jobs/mapper.py | 3 ++- lib/galaxy/jobs/rule_helper.py | 18 ++++++++++++++++++ lib/galaxy/jobs/stock_rules.py | 4 ++++ 4 files changed, 35 insertions(+), 1 deletion(-) diff --git a/job_conf.xml.sample_advanced b/job_conf.xml.sample_advanced index 7f905635300..0d2127ff1f5 100644 --- a/job_conf.xml.sample_advanced +++ b/job_conf.xml.sample_advanced @@ -266,6 +266,17 @@ 50 + + + docker_dispatch + docker_cluster + normal_cluster + https://examle.com:8913/