Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

tw pipelines update deletes existing pipeline labels #429

Open
drpatelh opened this issue Jul 2, 2024 · 1 comment
Open

tw pipelines update deletes existing pipeline labels #429

drpatelh opened this issue Jul 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@drpatelh
Copy link
Member

drpatelh commented Jul 2, 2024

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

@drpatelh drpatelh added the bug Something isn't working label Jul 2, 2024
Copy link

canny bot commented Jul 2, 2024

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant