From 917c882255ff1261bb99bb4bfc8bd1e165e26b96 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 16 May 2016 14:52:21 -0400 Subject: [PATCH] Revise HTCondor Docker image resolution. Bring inline with the rest of the job runner's Docker image resolution stuff. Order of reosolution is: - Use destination specified override if found: docker_container_id_override - Use the tool specified container if not found and no override: see tool - Else - use docker_default_container_id. This adjusts the documentation to reflect this and make the the parameters more consistent throughout. I've modified this so docker_image (the old name introduced by the Docker Condor PR) still works - but I have left it undocumented intentionally for consistency. --- config/job_conf.xml.sample_advanced | 11 ++++++----- lib/galaxy/jobs/runners/condor.py | 7 +------ lib/galaxy/tools/deps/containers.py | 6 +++++- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config/job_conf.xml.sample_advanced b/config/job_conf.xml.sample_advanced index 217a6a07f33..7d94947a921 100644 --- a/config/job_conf.xml.sample_advanced +++ b/config/job_conf.xml.sample_advanced @@ -446,13 +446,14 @@ bgruening/galaxy-stable - If not the container specified with id="docker_image" is used and as last resort - id="docker_default_container_id" is considered. + Unless the job destination specifies an override + with docker_container_id_override. If neither of + these is set a default container can be specified + with docker_default_container_id. The resolved + container ID will be passed along to condor as + the docker_image submission parameter. --> - - -