This PR adds the support for quick reload of changes to the containers to facilitate faster testing cycles. Volplugin binaries are mapped to /opt/bin in the containers which is added to the top of the PATH in the Dockerfile. Any changes to the binaries here-on, reflect on a container stop-start.
Renamed the run-fast target to registry. This is run as a part of make start automatically. We should not have to run this manually.
Modified run target to Stop Containers, Build Code, Start Containers.
Revamped the build/scripts/run.sh to support stop, start, cleanup of containers.
Bug fix in older run-fast mode where we weren't passing mon0's IP to build/scripts/run.sh sometimes.
Dockerfile changes to consolidate all Contiv components to a single layer.
This PR adds the support for quick reload of changes to the containers to facilitate faster testing cycles. Volplugin binaries are mapped to
/opt/bin
in the containers which is added to the top of thePATH
in theDockerfile
. Any changes to the binaries here-on, reflect on a container stop-start.run-fast
target toregistry
. This is run as a part ofmake start
automatically. We should not have to run this manually.run
target to Stop Containers, Build Code, Start Containers.build/scripts/run.sh
to support stop, start, cleanup of containers.run-fast
mode where we weren't passing mon0's IP tobuild/scripts/run.sh
sometimes.Signed-off-by: Vikrant Balyan vijayvikrant84@gmail.com