screwdriver
screwdriver copied to clipboard
Pipeline buildCluster annotation is not deleted
What happened:
If the user sets the `screwdriver.cd/buildCluster' annotation to pipeline level, even if the user deletes the setting, the setting is not deleted.
What you expected to happen:
It will run on the default build cluster if you remove the pipeline level annotation.
How to reproduce it:
- set the pipeline level
screwdriver.cd/buildClusterannotation. - remove the annotation.
- run build and the build will run on the cluster you set in the first step.
we save buildCluster into the Pipeline table at creation time of if the annotation changes. What should be the behavior once annotation is removed ? Let SD reset it to default ?
Resetting to default seems to be a good idea.