cloudfoundry-incubator / kubo-deployment

Contains manifests used to deploy Cloud Foundry Container Runtime
https://www.cloudfoundry.org/container-runtime/
Apache License 2.0
275 stars 114 forks source link

Precompiled releases should include stemcell they were compiled against #394

Closed benmoss closed 4 years ago

benmoss commented 5 years ago

Right now if your director already has a version of a precompiled BOSH release, and then we bump to a new stemcell and re-compile the same releases for the new stemcell, BOSH will ignore those new releases. It does this because it thinks it already has them, not realizing that the underlying bits are now different even though the release/version are the same.

BOSH introduced a workaround for this, which requires you to add metadata to the releases section about which stemcell a release was precompiled against. More info here: https://github.com/cloudfoundry/bosh/issues/1620#issuecomment-320056544

benmoss commented 5 years ago

cf-deployment does this: https://github.com/cloudfoundry/cf-deployment/blob/master/operations/use-compiled-releases.yml#L208-L212