phac-nml / irida-next

IRIDA Next
https://phac-nml.github.io/irida-next/
Apache License 2.0
8 stars 2 forks source link

Pipelines Configuration: Parameter options overrides (DFCT0010053) #603

Closed joshsadam closed 1 month ago

joshsadam commented 2 months ago

What does this PR do and why?

Describe in detail what your merge request does and why.

Fixes #592

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

In config/pipelines/pipelines.json add mikrokonda:

{
    "url": "https://github.com/phac-nml/mikrokondo",
    "name": "phac-nml/mikrokondo",
    "description": "Mikrokondo pipeline",
    "overrides": {
      "definitions": {
        "databases_and_pre_computed_files": {
          "properties": {
            "kraken2_db": {
              "type": "string",
              "description": "Kraken2 database",
              "enum": [
                [
                  "DBNAME",
                  "PATH_TO_DB"
                ],
                [
                  "ANOTHER_DB",
                  "ANOTHER_PATH"
                ]
              ]
            }
          }
        }
      }
    },
    "versions": [
      {
        "name": "0.1.2"
      }
    ]
  }

After selecting the pipeline, it should render:

image

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

github-actions[bot] commented 1 month ago

Simplecov Report

Covered Threshold
92.32% 90%