Skip to content

Commit 173c732

Browse files
committed
FAB-8748 Get fabric-ca-client binary from bootstrap.sh
Include curl command in bootstrap.sh script to download fabric-ca-client binary from nexus2. This will keep fabric-ca-client binary in bin directory along with fabric binaries. Also update samples.rst doc to include the missing binary list Change-Id: If23e7bb75323d15a19a8703e4c2c4bcde5dbb391 Signed-off-by: rameshthoomu <rameshbabu.thoomu@gmail.com>
1 parent 0c2d6b7 commit 173c732

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

docs/source/samples.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ created above. It retrieves four platform-specific binaries:
7272

7373
* ``cryptogen``,
7474
* ``configtxgen``,
75-
* ``configtxlator``, and
75+
* ``configtxlator``,
7676
* ``peer``
77+
* ``orderer`` and
78+
* ``fabric-ca-client``
7779

7880
and places them in the ``bin`` sub-directory of the current working
7981
directory.

scripts/bootstrap.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,16 @@ dockerCaPull() {
4747
: ${FABRIC_TAG:="$MARCH-$VERSION"}
4848
: ${THIRDPARTY_TAG:="$MARCH-$THIRDPARTY_IMAGE_VERSION"}
4949

50-
echo "===> Downloading platform binaries"
50+
echo "===> Downloading platform specific fabric binaries"
5151
curl https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/${ARCH}-${VERSION}/hyperledger-fabric-${ARCH}-${VERSION}.tar.gz | tar xz
5252

53+
echo "===> Downloading platform specific fabric-ca-client binary"
54+
curl https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/${ARCH}-${VERSION}/hyperledger-fabric-ca-${ARCH}-${VERSION}.tar.gz | tar xz
55+
if [ $? != 0 ]; then
56+
echo
57+
echo "------> $VERSION fabric-ca-client binary is not available to download (Avaialble from 1.1.0-rc1) <----"
58+
echo
59+
fi
5360
echo "===> Pulling fabric Images"
5461
dockerFabricPull ${FABRIC_TAG}
5562

0 commit comments

Comments
 (0)