Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Commit

Permalink
Upgrade to Fabric v1.4.6 (resolves #148)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Stone <[email protected]>
  • Loading branch information
Simon Stone committed Feb 26, 2020
1 parent bc738a3 commit 10ece80
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ steps:
displayName: Install Python dependencies
- script: |
set -ex
wget -qO fabric-bins.tar.gz https://github.com/hyperledger/fabric/releases/download/v1.4.4/hyperledger-fabric-linux-amd64-1.4.4.tar.gz
wget -qO fabric-bins.tar.gz https://github.com/hyperledger/fabric/releases/download/v1.4.6/hyperledger-fabric-linux-amd64-1.4.6.tar.gz
sudo tar xvf fabric-bins.tar.gz -C /usr/local
rm fabric-bins.tar.gz
displayName: Download Fabric CLI
- script: |
set -ex
wget -qO fabric-ca-bins.tar.gz https://github.com/hyperledger/fabric-ca/releases/download/v1.4.4/hyperledger-fabric-ca-linux-amd64-1.4.4.tar.gz
wget -qO fabric-ca-bins.tar.gz https://github.com/hyperledger/fabric-ca/releases/download/v1.4.6/hyperledger-fabric-ca-linux-amd64-1.4.6.tar.gz
sudo tar xvf fabric-ca-bins.tar.gz -C /usr/local
rm fabric-ca-bins.tar.gz
displayName: Download Fabric CA CLI
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ RUN wget -qO docker-19.03.5.tgz https://download.docker.com/linux/static/stable/
chmod +x /usr/local/bin/docker-compose
RUN mkdir /lib64 && \
ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 && \
wget -qO fabric-bins.tar.gz https://github.com/hyperledger/fabric/releases/download/v1.4.4/hyperledger-fabric-linux-amd64-1.4.4.tar.gz && \
wget -qO fabric-bins.tar.gz https://github.com/hyperledger/fabric/releases/download/v1.4.6/hyperledger-fabric-linux-amd64-1.4.6.tar.gz && \
tar xvf fabric-bins.tar.gz -C /usr/local && \
wget -qO fabric-ca-bins.tar.gz https://github.com/hyperledger/fabric-ca/releases/download/v1.4.4/hyperledger-fabric-ca-linux-amd64-1.4.4.tar.gz && \
wget -qO fabric-ca-bins.tar.gz https://github.com/hyperledger/fabric-ca/releases/download/v1.4.6/hyperledger-fabric-ca-linux-amd64-1.4.6.tar.gz && \
tar xvf fabric-ca-bins.tar.gz -C /usr/local && \
rm fabric-bins.tar.gz fabric-ca-bins.tar.gz
COPY ansible-role-blockchain-platform-manager.tar.gz /usr/local/src/
Expand Down
2 changes: 1 addition & 1 deletion tasks/docker/create-ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- name: Create certificate authority container
docker_container:
name: "{{ ca.docker.name }}"
image: hyperledger/fabric-ca:1.4.4
image: hyperledger/fabric-ca:1.4.6
networks:
- name: "{{ infrastructure.docker.network }}"
aliases:
Expand Down
2 changes: 1 addition & 1 deletion tasks/docker/create-orderer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
- name: Start orderer container
docker_container:
name: "{{ orderer.docker.name }}"
image: hyperledger/fabric-orderer:1.4.4
image: hyperledger/fabric-orderer:1.4.6
networks:
- name: "{{ infrastructure.docker.network }}"
aliases:
Expand Down
4 changes: 2 additions & 2 deletions tasks/docker/create-peer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
- name: Start peer container
docker_container:
name: "{{ peer.docker.name }}"
image: hyperledger/fabric-peer:1.4.4
image: hyperledger/fabric-peer:1.4.6
networks:
- name: "{{ infrastructure.docker.network }}"
aliases:
Expand All @@ -143,7 +143,7 @@
CORE_PEER_GOSSIP_EXTERNALENDPOINT: "{{ peer.docker.hostname }}:{{ peer.docker.port }}"
CORE_PEER_TLS_ENABLED: "{{ 'true' if peer.tls.enabled else 'false' }}"
CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE: "{{ infrastructure.docker.network }}"
CORE_CHAINCODE_BUILDER: hyperledger/fabric-ccenv:1.4.4
CORE_CHAINCODE_BUILDER: hyperledger/fabric-ccenv:1.4.6
CORE_CHAINCODE_GOLANG_RUNTIME: hyperledger/fabric-baseos:0.4.18
CORE_CHAINCODE_JAVA_RUNTIME: hyperledger/fabric-javaenv:1.4.4
CORE_CHAINCODE_NODE_RUNTIME: hyperledger/fabric-baseimage:0.4.18
Expand Down

0 comments on commit 10ece80

Please sign in to comment.