Closed tedsuo closed 7 years ago
An issue brought up today regarding lifecycles is that CC currently implements lifecycle-specific policy. For example, the admin can restrict which buildpacks are allowable. In the future, it's easy to see policies extended to other lifecycles, such as docker policies, etc. How should we handle this?
Closing this out, as the CAPI team owns the CC-Bridge and the equivalent functionality in Cloud Controller itself.
The issue we are facing is the desire to support multiple Deployment strategies in CF (buildpack, docker, dot-net, app-container, etc...). Ideally these deployment strategies work like "plugins", in that each CF deployment can consist of a different set of deployment strategies.
To accomplish this in the CC-Bridge, we have the concept of App-Lifecycle's. This is currently sort-of pluggable, sort-of hardwired. How should we re-architect the lifecycles to be fully pluggable?
Proposal is here: https://github.com/pivotal-cf-experimental/diego-dev-notes/blob/master/proposals/lifecycle-design.md