Allow specifying useful classes of tools for mapping in job conf YAML/XML #12258
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Various job configurations I've seen in the wild and written for testing have special mappings setup for tools that cannot be used with remote Pulsar (since uploads are local to the web server for instance) or for tool that require Galaxy lib (including hacks like setting dynamic job runners just to import the lists from galaxy.tools and then not applying version restrictions correctly and such).
This provides abstractions to map whole classes of tools at a time to circumvent these hacks. The two classes currently defined are
local
andrequires_galaxy
as documented in the advanced job config.local
is for tools that we know require job handler files that don't respect compute environment abstractions and aren't setup for remote execution (e.g. won't work with a remote Pulsar instance). This will help deployers route these jobs away from Pulsar quickly and should help cleanup a lot of expected failures in galaxyproject/pulsar#259. This also cleans up a lot of the test configurations I think.requires_galaxy
this is for jobs that use tools that require Galaxy's Python environment. It should provide a more rigorous way to accessGALAXY_LIB_TOOLS_UNVERSIONED
and GALAXY_LIB_TOOLS_VERSIONED`` for non-dynamic job configuration mapping.How to test the changes?
(Select all options that apply)
License