Skip to content

Commit edee638

Browse files
committed
[FAB-12184] Prepare fabric-samples for 1.3.0-rc1
Change-Id: I791a7dc50557547036209dbabb5a6c42ee2e0c38 Signed-off-by: David Enyeart <enyeart@us.ibm.com>
1 parent 514d456 commit edee638

File tree

6 files changed

+37
-25
lines changed

6 files changed

+37
-25
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ intend to use to ensure alignment.
99

1010
## Download Binaries and Docker Images
1111

12-
The [`scripts/bootstrap.sh`](https://github.com/hyperledger/fabric-samples/blob/release-1.2/scripts/bootstrap.sh)
12+
The [`scripts/bootstrap.sh`](https://github.com/hyperledger/fabric-samples/blob/release-1.3/scripts/bootstrap.sh)
1313
script will preload all of the requisite docker
1414
images for Hyperledger Fabric and tag them with the 'latest' tag. Optionally,
1515
specify a version for fabric, fabric-ca and thirdparty images. Default versions
16-
are 1.2.0, 1.2.0 and 0.4.10 respectively.
16+
are 1.3.0-rc1, 1.3.0-rc1 and 0.4.12 respectively.
1717

1818
```bash
1919
./scripts/bootstrap.sh [version] [ca version] [thirdparty_version]

fabric-ca/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ an older released version, or from locally built docker images as follows:
2727
and Fabric CA.
2828

2929
b. Older versions of Fabric and Fabric CA can be used by setting the
30-
`FABRIC_TAG` environment variable. For example, `export FABRIC_TAG=1.2.0`
31-
will run the sample with 1.2.0 version of Fabric and Fabric CA.
30+
`FABRIC_TAG` environment variable. For example, `export FABRIC_TAG=1.3.0-rc1`
31+
will run the sample with 1.3.0-rc1 version of Fabric and Fabric CA.
3232

3333
c. The sample can also be run with locally built Fabric and Fabric CA
3434
docker images. Fabric and Fabric CA repositories must be cloned with following

fabric-ca/makeDocker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# IMPORTANT: The following default FABRIC_TAG value should be updated for each
1313
# release after the fabric-orderer and fabric-peer images have been published
1414
# for the release.
15-
export FABRIC_TAG=${FABRIC_TAG:-1.2.0}
15+
export FABRIC_TAG=${FABRIC_TAG:-1.3.0-rc1}
1616

1717
export FABRIC_CA_TAG=${FABRIC_CA_TAG:-${FABRIC_TAG}}
1818
export NS=${NS:-hyperledger}

fabric-ca/start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# By default, this test is run with the latest released docker images.
1212
#
1313
# To run against a specific fabric/fabric-ca version:
14-
# export FABRIC_TAG=1.2.0
14+
# export FABRIC_TAG=1.3.0-rc1
1515
#
1616
# To run with locally built images:
1717
# export FABRIC_TAG=local

first-network/configtx.yaml

+27-15
Original file line numberDiff line numberDiff line change
@@ -125,31 +125,43 @@ Organizations:
125125
################################################################################
126126
Capabilities:
127127
# Channel capabilities apply to both the orderers and the peers and must be
128-
# supported by both. Set the value of the capability to true to require it.
129-
Global: &ChannelCapabilities
128+
# supported by both.
129+
# Set the value of the capability to true to require it.
130+
Channel: &ChannelCapabilities
130131
# V1.3 for Channel is a catchall flag for behavior which has been
131-
# determined to be desired for all orderers and peers running < v1.3.0,
132-
# but the modification of which would cause incompatibilities. Users
133-
# should leave this flag set to true.
132+
# determined to be desired for all orderers and peers running at the v1.3.x
133+
# level, but which would be incompatible with orderers and peers from
134+
# prior releases.
135+
# Prior to enabling V1.3 channel capabilities, ensure that all
136+
# orderers and peers on a channel are at v1.3.0 or later.
134137
V1_3: true
135138

136139
# Orderer capabilities apply only to the orderers, and may be safely
137-
# manipulated without concern for upgrading peers. Set the value of the
138-
# capability to true to require it.
140+
# used with prior release peers.
141+
# Set the value of the capability to true to require it.
139142
Orderer: &OrdererCapabilities
140-
# V1.1 for Order is a catchall flag for behavior which has been
141-
# determined to be desired for all orderers running v1.0.x, but the
142-
# modification of which would cause incompatibilities. Users should
143-
# leave this flag set to true.
143+
# V1.1 for Orderer is a catchall flag for behavior which has been
144+
# determined to be desired for all orderers running at the v1.1.x
145+
# level, but which would be incompatible with orderers from prior releases.
146+
# Prior to enabling V1.1 orderer capabilities, ensure that all
147+
# orderers on a channel are at v1.1.0 or later.
144148
V1_1: true
145149

146150
# Application capabilities apply only to the peer network, and may be safely
147-
# manipulated without concern for upgrading orderers. Set the value of the
148-
# capability to true to require it.
151+
# used with prior release orderers.
152+
# Set the value of the capability to true to require it.
149153
Application: &ApplicationCapabilities
150-
# V1.2 for Application enables the new non-backwards compatible
151-
# features and fixes of fabric v1.3
154+
# V1.3 for Application enables the new non-backwards compatible
155+
# features and fixes of fabric v1.3.
152156
V1_3: true
157+
# V1.2 for Application enables the new non-backwards compatible
158+
# features and fixes of fabric v1.2 (note, this need not be set if
159+
# later version capabilities are set)
160+
V1_2: false
161+
# V1.1 for Application enables the new non-backwards compatible
162+
# features and fixes of fabric v1.1 (note, this need not be set if
163+
# later version capabilities are set).
164+
V1_1: false
153165

154166
################################################################################
155167
#

scripts/bootstrap.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
#
77

88
# if version not passed in, default to latest released version
9-
export VERSION=1.2.0
9+
export VERSION=1.3.0-rc1
1010
# if ca version not passed in, default to latest released version
1111
export CA_VERSION=$VERSION
1212
# current version of thirdparty images (couchdb, kafka and zookeeper) released
13-
export THIRDPARTY_IMAGE_VERSION=0.4.10
13+
export THIRDPARTY_IMAGE_VERSION=0.4.12
1414
export ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')")
1515
export MARCH=$(uname -m)
1616

@@ -32,8 +32,8 @@ printHelp() {
3232
echo "-d - bypass docker image download"
3333
echo "-b - bypass download of platform-specific binaries"
3434
echo
35-
echo "e.g. bootstrap.sh 1.2.0 1.2.0 0.4.10"
36-
echo "would download docker images and binaries for version 1.2.0 (fabric) 1.2.0 (fabric-ca) 0.4.10 (thirdparty)"
35+
echo "e.g. bootstrap.sh 1.3.0-rc1 1.3.0-rc1 0.4.12"
36+
echo "would download docker images and binaries for version 1.3.0-rc1 (fabric) 1.3.0-rc1 (fabric-ca) 0.4.12 (thirdparty)"
3737
}
3838

3939
dockerFabricPull() {

0 commit comments

Comments
 (0)