seqeralabs / tower-cli

Nextflow Tower CLI tool
Apache License 2.0
41 stars 9 forks source link

tw pipelines update deletes existing pipeline labels #429

Open drpatelh opened 2 weeks ago

drpatelh commented 2 weeks ago

Summary

If a pipeline already contains labels in the Launchpad these are deleted when running tw pipelines update.

Steps to reproduce

1. Add a new pipeline to the Launchpad with a label

tw \
    pipelines \
    add \
    --name=test-hello-world \
    --workspace=<WORKSPACE_NAME> \
    --revision=master \
    --labels=hello-world \
    https://github.com/nextflow-io/hello

The hello-world label is clearly visible in the image below after adding the pipeline.

image

2. Update the "revision" to another branch on the repo

tw \
    pipelines \
    update \
    --name=test-hello-world \
    --workspace=<WORKSPACE_NAME> \
    --revision=testing

The hello-world label is no longer visible in the image below after updating the pipeline.

image

canny[bot] commented 2 weeks ago

This issue has been linked to a Canny post: Tower CLI update command cannot add labels :tada: