Skip to content

Commit

Permalink
fixup! Add test-network sample test
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Brandenburger <[email protected]>
  • Loading branch information
mbrandenburger committed Jul 26, 2024
1 parent 2a3ee9c commit 713bdd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion samples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
TOP = ..
include $(TOP)/build.mk

SAMPLES = application chaincode demos #deployment
SAMPLES = application chaincode demos deployment

build clean:
$(foreach DIR, $(SAMPLES), $(MAKE) -C $(DIR) $@ || exit;)
Expand Down
2 changes: 2 additions & 0 deletions samples/deployment/test-network/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ wget -O "${BE_CONFIG}" https://raw.githubusercontent.com/hyperledger/blockchain-
wget -O "${BE_CONNECTIONS_PROFILE}" https://raw.githubusercontent.com/hyperledger/blockchain-explorer/main/examples/net1/connection-profile/test-network.json
wget -O "${BE_DOCKER_COMPOSE}" https://raw.githubusercontent.com/hyperledger/blockchain-explorer/main/docker-compose.yaml

yq '(. | .networks."mynetwork.com" ) |= . + {"external": true}' -i "${BE_DOCKER_COMPOSE}"

cat > "${BE_PATH}/.env" << EOF
EXPLORER_CONFIG_FILE_PATH=${BE_PATH_HOST}/config.json
EXPLORER_PROFILE_DIR_PATH=${BE_PATH_HOST}/connection-profile
Expand Down

0 comments on commit 713bdd0

Please sign in to comment.