mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Change Fabric Binary Pull Logic (#147)
Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
This commit is contained in:
parent
337f82c513
commit
0e3a7a7a30
3 changed files with 5 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -9,3 +9,4 @@
|
|||
/config
|
||||
.DS_Store
|
||||
.project
|
||||
.idea
|
||||
|
|
@ -8,6 +8,7 @@ trigger:
|
|||
|
||||
variables:
|
||||
NODE_VER: '10.x'
|
||||
PATH: $(Agent.BuildDirectory)/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
||||
|
||||
jobs:
|
||||
- job: fabcar_go
|
||||
|
|
|
|||
|
|
@ -5,17 +5,15 @@
|
|||
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
|
||||
curl -L --retry 5 --retry-delay 3 https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-linux-amd64-1.4-stable.tar.gz | tar xz
|
||||
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
|
||||
curl -L --retry 5 --retry-delay 3 https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-ca-linux-amd64-1.4-stable.tar.gz | tar xz
|
||||
displayName: Download Fabric CA CLI
|
||||
- script: |
|
||||
set -ex
|
||||
version=1.4.5
|
||||
version=1.4
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue