Re:Microsoft and Docker team up to make packaging cloud-nati...
by gabrtv on Tuesday December 04, 2018 @01:22PM
(#18602120)
CNAB makes reproducibility possible by providing unified lifecycle management, packaging, and distribution. Of course if bundle authors don't take care to work around problems with imperative logic, that's a risk. In practice, we see declarative models for building bundles offer more reproducibility.
For example, see how you can build a CNAB using a Terraform base image: https://github.com/deislabs/bundles/tree/master/terraform
Re:Microsoft and Docker team up to make packaging cloud-nati...
by donmcronald on Tuesday December 04, 2018 @01:48PM
(#18602404)
Yeah. I read through some of those existing configs and I see how it works now. My first instinct when I see `cnab/app/run install` is to think it's for installing the app, but now I see it's for provisioning / deploying to the environment. As soon as I think of install, uninstall as deploy, undeploy then it clicks for me.
Re:Microsoft and Docker team up to make packaging cloud-nati...
by bacongobbler on Tuesday December 04, 2018 @02:46PM
(#18602996)
We may want to discuss changing the keywords from install/uninstall to be deploy/uninstall if that helps signal to the user the intent behind those actions. That's great feedback, thank you!
Re:Microsoft and Docker team up to make packaging cloud-nati...
by mnoorali on Tuesday December 04, 2018 @01:18PM
(#18602077)
The goal with CNAB is to be able to version your application with all of its components and then ship that as one logical unit making it reproducible. The package format is flexible enough to let you use the tooling that you're already using.
I'm not very familiar with Ansible, etc., so maybe tools like that have strategies for building deterministic environments, but I can see a lot of people putting `apt-get` or `yum` commands in an install script.