-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added stop script to remove fabcar
chaincode containers and images.
#64
Conversation
Signed-off-by: Daniel Ruthardt <druthardt@contractor.linuxfoundation.org>
Signed-off-by: Daniel Ruthardt <druthardt@contractor.linuxfoundation.org>
Thank you for your contribution! Please use gerrit for the changes, see documentation here |
Thank you for your contribution! Please use gerrit for the changes, see documentation here |
Thank you for your contribution! Please use gerrit for the changes, see documentation here |
/azp run |
/azp run |
/azp run |
false |
/azp run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry it took us so long to get to this. This is something that has been bugging me too so I welcome the contribution!
/azp run |
byfn.sh
can only remove chaincode containers and images formycc
. Thusbyfn.sh down
, nor a futurebyfn.sh up
, on its own, does not do a complete teardown of thefabcar
network, the suggested script does.The functions
clearContainers
andremoveUnwantedImages
have been copied fromfirst-network
'sbyfn.sh
and have only been modified to address thefabcar
chaincode instead of themycc
chaincode.In order not to overload this PR, no attempts of making
byfn.sh
parameterizable in respect of the chaincode to install or to use during teardown have been made.