Skip to content

Commit

Permalink
Update microfab
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bestbeforetoday committed Oct 23, 2024
1 parent 33f3ba8 commit 7f26214
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ public Peer build(Map<String,String> additionalEnv){
list.add("--waitForEvent");
}

list.add("--orderer");
list.add("orderer-api.127-0-0-1.nip.io:8080");
list.add("--peerAddresses");
list.add("org1peer-api.127-0-0-1.nip.io:8080");
list.add("--peerAddresses");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ services:

microfab:
container_name: microfab
image: ibmcom/ibp-microfab
image: ghcr.io/hyperledger-labs/microfab
tty: true
environment:
- MICROFAB_CONFIG={"couchdb":false,"endorsing_organizations":[{"name":"org1"},{"name":"org2"}],"channels":[{"name":"sachannel","endorsing_organizations":["org1","org2"]}],"capability_level":"V2_0"}
- MICROFAB_CONFIG={"couchdb":false,"endorsing_organizations":[{"name":"org1"},{"name":"org2"}],"channels":[{"name":"sachannel","endorsing_organizations":["org1","org2"]}],"capability_level":"V2_5"}
- FABRIC_LOGGING_SPEC=info
ports:
- 8080:8080
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mkdir -p "${CFG}"
# using the IBM tagged version until labs workflow is updated
docker rm -f microfab || true

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

docker run --name microfab \
-d \
Expand All @@ -20,7 +20,7 @@ docker run --name microfab \
--rm \
-e MICROFAB_CONFIG="${MICROFAB_CONFIG}" \
-e FABRIC_LOGGING_SPEC=info \
ibmcom/ibp-microfab
ghcr.io/hyperledger-labs/microfab


sleep 10
Expand Down

0 comments on commit 7f26214

Please sign in to comment.