fabric-samples/ci/install-fabric.yml
Brett Logan 2c1d2ad5b9 [FABCI-482] Update Nexus URL's to Artifactory (#93)
Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
2020-01-20 15:30:21 +00:00

29 lines
1.4 KiB
YAML

#
# SPDX-License-Identifier: Apache-2.0
#
steps:
- script: |
set -eo pipefail
wget -q -P /tmp https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-linux-amd64-1.4.5-stable.tar.gz
sudo tar xzvf /tmp/hyperledger-fabric-linux-amd64-1.4.5-stable.tar.gz -C /usr/local
displayName: Download Fabric CLI
- script: |
set -eo pipefail
wget -q -P /tmp https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-ca-linux-amd64-1.4.5-stable.tar.gz
sudo tar xzvf /tmp/hyperledger-fabric-ca-linux-amd64-1.4.5-stable.tar.gz -C /usr/local
displayName: Download Fabric CA CLI
- script: |
set -ex
version=1.4.5
for i in ca ccenv javaenv peer orderer tools; do
docker pull hyperledger-fabric.jfrog.io/fabric-$i:amd64-$version-stable
docker tag hyperledger-fabric.jfrog.io/fabric-$i:amd64-$version-stable hyperledger/fabric-$i:amd64-$version-stable
docker tag hyperledger-fabric.jfrog.io/fabric-$i:amd64-$version-stable hyperledger/fabric-$i:amd64-$version
docker tag hyperledger-fabric.jfrog.io/fabric-$i:amd64-$version-stable hyperledger/fabric-$i:$version
docker tag hyperledger-fabric.jfrog.io/fabric-$i:amd64-$version-stable hyperledger/fabric-$i:latest
done
docker pull hyperledger/fabric-couchdb:0.4.15
docker tag hyperledger/fabric-couchdb:0.4.15 hyperledger/fabric-couchdb:latest
displayName: Pull Fabric Docker images