Skip to content

Commit d5aa6c5

Browse files
Update microfab (#360)
Update microfab used for integration tests from ibmcom/ibp-microfab to use ghcr.io/hyperledger-labs/microfab. This updates the Fabric runtime for v2.4 to v2.5. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
1 parent 4895f92 commit d5aa6c5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

fabric-chaincode-integration-test/src/test/java/org/hyperleder/fabric/shim/integration/util/Peer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ public Peer build(Map<String, String> additionalEnv) {
146146
list.add("--waitForEvent");
147147
}
148148

149+
list.add("--orderer");
150+
list.add("orderer-api.127-0-0-1.nip.io:8080");
149151
list.add("--peerAddresses");
150152
list.add("org1peer-api.127-0-0-1.nip.io:8080");
151153
list.add("--peerAddresses");

fabric-chaincode-integration-test/src/test/resources/docker-compose-microfab.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ services:
99

1010
microfab:
1111
container_name: microfab
12-
image: ibmcom/ibp-microfab
12+
image: ghcr.io/hyperledger-labs/microfab
1313
tty: true
1414
environment:
15-
- MICROFAB_CONFIG={"couchdb":false,"endorsing_organizations":[{"name":"org1"},{"name":"org2"}],"channels":[{"name":"sachannel","endorsing_organizations":["org1","org2"]}],"capability_level":"V2_0"}
15+
- MICROFAB_CONFIG={"couchdb":false,"endorsing_organizations":[{"name":"org1"},{"name":"org2"}],"channels":[{"name":"sachannel","endorsing_organizations":["org1","org2"]}],"capability_level":"V2_5"}
1616
- FABRIC_LOGGING_SPEC=info
1717
ports:
1818
- 8080:8080

fabric-chaincode-integration-test/src/test/resources/scripts/mfsetup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mkdir -p "${CFG}"
1111
# using the IBM tagged version until labs workflow is updated
1212
docker rm -f microfab || true
1313

14-
export MICROFAB_CONFIG='{"couchdb":false,"endorsing_organizations":[{"name":"org1"},{"name":"org2"}],"channels":[{"name":"sachannel","endorsing_organizations":["org1","org2"]}],"capability_level":"V2_0"}'
14+
export MICROFAB_CONFIG='{"couchdb":false,"endorsing_organizations":[{"name":"org1"},{"name":"org2"}],"channels":[{"name":"sachannel","endorsing_organizations":["org1","org2"]}],"capability_level":"V2_5"}'
1515

1616
docker run --name microfab \
1717
-d \
@@ -20,7 +20,7 @@ docker run --name microfab \
2020
--rm \
2121
-e MICROFAB_CONFIG="${MICROFAB_CONFIG}" \
2222
-e FABRIC_LOGGING_SPEC=info \
23-
ibmcom/ibp-microfab
23+
ghcr.io/hyperledger-labs/microfab
2424

2525

2626
sleep 10

0 commit comments

Comments
 (0)