Open drpatelh opened 2 weeks ago
If a pipeline already contains labels in the Launchpad these are deleted when running tw pipelines update.
tw pipelines update
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.
hello-world
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.
This issue has been linked to a Canny post: Tower CLI update command cannot add labels :tada:
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
The
hello-world
label is clearly visible in the image below after adding the pipeline.2. Update the "revision" to another branch on the repo
The
hello-world
label is no longer visible in the image below after updating the pipeline.