IBM-Blockchain-Starter-Kit / build-lib

Common scripts for use in Blockchain build pipelines
https://ibm-blockchain-starter-kit.github.io/
Apache License 2.0
4 stars 14 forks source link

Chaincode deployment configuration #34

Closed jt-nti closed 6 years ago

jt-nti commented 6 years ago

When deploying sample chaincode to starter plan, @sstone1's prototype did not require any configuration around which channels/peers to deploy to, or worry about different organisations being involved.

To support more complex (production?) scenarios, there needs to be some means to configure the chaincode deployment. In summary (hopefully @yorhodes and @jorgedr94 can fill in the details!) the following information is likely to be required in a multi-org environment:

Need to consider where this configuration should live, and how this kind of more complex (production?) scenario fits in within devops toolchains. For example:

Apologies that this is just a bit of a brain dump for now but I wanted to get something down for discussion.

jt-nti commented 6 years ago

From @simonmullaney

needs a little bit of flexibility which could be achieved with a customisable configuration file where you could specify things like:

1) Number of organisations you want in your network 2) Number of peers you want in each org 3) Number of orderers (for enterprise plan) 4) Names of orgs, channel and of whole business network

simonmullaney commented 6 years ago

It would also be good to be able to configure:

5. Names of the cards for the different organisations, CA's and intermediate CA's
jt-nti commented 6 years ago

Moved to new repo