Search code examples
ibm-cloudcloud-foundryblockchainhyperledger

Can Cloud Foundry deploy chaincode to BlueMix


Is it possible to deploy go blockchain code to a BlueMix blockchain service using cloud foundry from a private git repo?

The BMX chaincode REST api deployment descriptor warns:

you will need to have the chaincode stored in a public git repository

The url deployment also relies on a public git repo:

https://bluemix.net/deploy?repository=https://github.com/ibm-blockchain/marbles.git

I'm not having much luck finding an example cloud foundry manifest.yml configuration file to deploy straight from my private git clone.


Solution

  • I don't think it is currently possible, see issue.

    If you do a local deployment you can test your chaincode without the need of having it in any repository. To do so follow these instructions.

    Edit: check this answer to see how to deploy chaincode in a local development setup without having it on github.