I did look into the documents which refer to CI/CD using Habitat, but is tied up with Chef Automate.
I wanted to understand can Habitat work in silos to create CI/CD pattern.
Lets say I have a node js application.
Code analysis scripts are in JSHint
Unit test scripts are in Mocha
and then finally the build step kicks in.
Is there a way I can mention somewhere like plan.sh at do_build() as to continue with build only if unit tests are successful.
Something like :
if ( all unit tests pass )
And as Habitat cannot by itself export into a docker container, should there be a command from either terminal or third party application like Chef Automate/Jenkins to trigger the deployment of docker images ?