mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +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
|
/config
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.project
|
.project
|
||||||
|
.idea
|
||||||
|
|
@ -8,6 +8,7 @@ trigger:
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
NODE_VER: '10.x'
|
NODE_VER: '10.x'
|
||||||
|
PATH: $(Agent.BuildDirectory)/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: fabcar_go
|
- job: fabcar_go
|
||||||
|
|
|
||||||
|
|
@ -5,17 +5,15 @@
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
wget -q -P /tmp https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-linux-amd64-1.4.5-stable.tar.gz
|
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
|
||||||
sudo tar xzvf /tmp/hyperledger-fabric-linux-amd64-1.4.5-stable.tar.gz -C /usr/local
|
|
||||||
displayName: Download Fabric CLI
|
displayName: Download Fabric CLI
|
||||||
- script: |
|
- script: |
|
||||||
set -eo pipefail
|
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
|
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
|
||||||
sudo tar xzvf /tmp/hyperledger-fabric-ca-linux-amd64-1.4.5-stable.tar.gz -C /usr/local
|
|
||||||
displayName: Download Fabric CA CLI
|
displayName: Download Fabric CA CLI
|
||||||
- script: |
|
- script: |
|
||||||
set -ex
|
set -ex
|
||||||
version=1.4.5
|
version=1.4
|
||||||
for i in ca ccenv javaenv peer orderer tools; do
|
for i in ca ccenv javaenv peer orderer tools; do
|
||||||
docker pull hyperledger-fabric.jfrog.io/fabric-$i:amd64-$version-stable
|
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-stable
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue