vmware-archive / pcf-pipelines

PCF Pipelines
Apache License 2.0
158 stars 282 forks source link

Optional failure for a tile that is already staged #352

Open jhvhs opened 6 years ago

jhvhs commented 6 years ago

Provide a flag that prevents false positives on the tile upgrade.

When a tile has an upgrade pipeline, but the version has been updated manually for some reason, the pipeline would keep failing until a new version of the tile is published.

When the operator sets the SKIP_IF_ALREADY_STAGED param for the stage-tile job to yes, and the latest matching tile version matches the version of the tile that has been manually installed, the upgrade pipeline does not fail, and does not attempt the upgrade.

When the newest available matching tile version coincides with the version currently installed, the pipeline would invariably fail.

cf-gitbot commented 6 years ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.