Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

Files

Latest commit

5f0f656 · Jun 17, 2022

History

History
63 lines (39 loc) · 2.41 KB

README.md

File metadata and controls

63 lines (39 loc) · 2.41 KB

fabric-builders

External builders and launchers for Hyperledger Fabric

Archived: This project has now been archived due to more recent alternatives being available.

  • CCaaS builder: chaincode as a service builder in the main fabric repository
  • k8s builder: experimental kubernetes builder

Development

It would be better to generate core.yaml from the copy in Hyperledger Fabric, i.e. add the external builder configuration, instead of having an out of date copy here.

Testing

Requires shellcheck, and bats-core:

shellcheck -x builders/**/*.sh builders/**/{detect,build,release,run} tools/*.sh
docker run -it -v "$(pwd):/code" bats/bats:latest -r /code/test

Usage

Build a peer image configured to use the new builders:

docker build -t hyperledgendary/fabric-builder-peer .

Start a fabric network using the new peer image. For example, edit docker-compose.yaml file to use the extended peer image:

    image: hyperledgendary/fabric-builder-peer:latest

Package chaincode for required builder:

Useful links

Articles

Documentation

Samples

Other

See wiki for more information