mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
The current scripts download the fabric binaries and place them in `/usr/local`. Modifying the host system in CI is generally bad practice. The `bootstrap.sh` script also downloads the binaries into the root of the `fabric-samples` repo. It is good practice for us to do the same in CI. We also have several samples that make an assumption about the location of these scripts. In the future we should re-evaluate these examples. Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
15 lines
588 B
YAML
15 lines
588 B
YAML
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
steps:
|
|
- script: |
|
|
set -eo pipefail
|
|
curl -L --retry 5 --retry-delay 3 https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-linux-amd64-latest.tar.gz | tar xz
|
|
displayName: Download Fabric CLI
|
|
- script: |
|
|
set -eo pipefail
|
|
curl -L --retry 5 --retry-delay 3 https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-ca-linux-amd64-latest.tar.gz | tar xz
|
|
displayName: Download Fabric CA CLI
|
|
- script: bash ci/getDockerImages.sh
|
|
displayName: Pull Fabric Docker images
|