balena-io-modules / balena-multibuild

Build docker compositions with node!
4 stars 0 forks source link

Add support for container contracts #62

Closed CameronDiver closed 5 years ago

CameronDiver commented 5 years ago

We search the root context of a service for a contract.yml or contract.yaml file. We save these so that the caller can use them however they wish.

We also add some cursory validation, but I plan to add this to the contracts module itself, and integrate that into this module and the supervisor, but didn't want to block on that. In the meantime this will keep things sane.