As an administrator of IRIDA Next I would like to be able to specify which versions of pipelines are automatable.
Summary
Update pipeline json config at config/pipelines/pipelines.json to support automatable in version config.
[
{
"url": "https://github.com/phac-nml/iridanextexample",
"name": "phac-nml/iridanextexample",
"description": "IRIDA Next Example Pipeline",
"versions": [
{
"name": "1.0.2",
"automatable": true, # new option
},
],
},
]
Update lib/irida/pipeline.rb to include automatable attribute, which is set based off of version['automatable'] if present otherwise it defaults to false
Update lib/irida/pipelines.rb to include an automatable_pipelines function, which returns all the pipelines which are automatable
Problem
As an administrator of IRIDA Next I would like to be able to specify which versions of pipelines are automatable.
Summary
config/pipelines/pipelines.json
to supportautomatable
inversion
config.lib/irida/pipeline.rb
to includeautomatable
attribute, which is set based off ofversion['automatable']
if present otherwise it defaults to falselib/irida/pipelines.rb
to include anautomatable_pipelines
function, which returns all the pipelines which areautomatable