cf-platform-eng / tile-generator

Tools to develop, package, test, and deploy software on Pivotal Cloud Foundry
https://docs.pivotal.io/tiledev/tile-generator.html
Apache License 2.0
88 stars 59 forks source link

Find a way to never require new stemcell uploads #42

Closed guidowb closed 8 years ago

guidowb commented 8 years ago

Findings:

On the other hand:

You can write a little script against the OpsMgr API that re-configures an already uploaded and installed release to use the same stemcell as the cf product, which will cause it to turn green. This is what the pcf command does. So when using that command to install tiles, stemcell uploads are never required.

Trying to determine if this is somehow a sufficient solution...

bingosummer commented 8 years ago

@guidowb I think the following comments should be changed. https://github.com/cf-platform-eng/tile-generator/blob/master/templates/tile.yml#L32-L35

Because if the version is not specified, the version will be 3146.5 which is not the latest stemcell version. So, I think, it should be required to configure the version except there's a way to always use the same version with the cf product.

guidowb commented 8 years ago

@bingosummer That makes sense, but a better alternative would be for us to fix the code so that it does what the comment says - always pick up the latest stemcell. I'm going to give that a try first.