mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Remove empty test-network Docker Compose files
Empty Docker Conpose YAML files can cause errors with old Docker Compose versions due to bugs in their YAML handling. Since these files are empty and have no functional purpose, this change removes the files and references to them in scripts. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
This commit is contained in:
parent
bdaeac199d
commit
5e9b5f725b
5 changed files with 4 additions and 20 deletions
|
|
@ -1,4 +0,0 @@
|
|||
# Copyright IBM Corp. All Rights Reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# Copyright IBM Corp. All Rights Reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# Copyright IBM Corp. All Rights Reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# Copyright IBM Corp. All Rights Reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
|
@ -222,7 +222,7 @@ function createOrgs() {
|
|||
# Create crypto material using Fabric CA
|
||||
if [ "$CRYPTO" == "Certificate Authorities" ]; then
|
||||
infoln "Generating certificates using Fabric CA"
|
||||
${CONTAINER_CLI_COMPOSE} -f compose/$COMPOSE_FILE_CA -f compose/$CONTAINER_CLI/${CONTAINER_CLI}-$COMPOSE_FILE_CA up -d 2>&1
|
||||
${CONTAINER_CLI_COMPOSE} -f compose/$COMPOSE_FILE_CA up -d 2>&1
|
||||
|
||||
. organizations/fabric-ca/registerEnroll.sh
|
||||
|
||||
|
|
@ -307,7 +307,7 @@ function networkUp() {
|
|||
COMPOSE_FILES="-f compose/${COMPOSE_FILE_BASE} -f compose/${CONTAINER_CLI}/${CONTAINER_CLI}-${COMPOSE_FILE_BASE}"
|
||||
|
||||
if [ "${DATABASE}" == "couchdb" ]; then
|
||||
COMPOSE_FILES="${COMPOSE_FILES} -f compose/${COMPOSE_FILE_COUCH} -f compose/${CONTAINER_CLI}/${CONTAINER_CLI}-${COMPOSE_FILE_COUCH}"
|
||||
COMPOSE_FILES="${COMPOSE_FILES} -f compose/${COMPOSE_FILE_COUCH}"
|
||||
fi
|
||||
|
||||
DOCKER_SOCK="${DOCKER_SOCK}" ${CONTAINER_CLI_COMPOSE} ${COMPOSE_FILES} up -d 2>&1
|
||||
|
|
@ -435,8 +435,8 @@ function networkDown() {
|
|||
local temp_compose=$COMPOSE_FILE_BASE
|
||||
COMPOSE_FILE_BASE=compose-bft-test-net.yaml
|
||||
COMPOSE_BASE_FILES="-f compose/${COMPOSE_FILE_BASE} -f compose/${CONTAINER_CLI}/${CONTAINER_CLI}-${COMPOSE_FILE_BASE}"
|
||||
COMPOSE_COUCH_FILES="-f compose/${COMPOSE_FILE_COUCH} -f compose/${CONTAINER_CLI}/${CONTAINER_CLI}-${COMPOSE_FILE_COUCH}"
|
||||
COMPOSE_CA_FILES="-f compose/${COMPOSE_FILE_CA} -f compose/${CONTAINER_CLI}/${CONTAINER_CLI}-${COMPOSE_FILE_CA}"
|
||||
COMPOSE_COUCH_FILES="-f compose/${COMPOSE_FILE_COUCH}"
|
||||
COMPOSE_CA_FILES="-f compose/${COMPOSE_FILE_CA}"
|
||||
COMPOSE_FILES="${COMPOSE_BASE_FILES} ${COMPOSE_COUCH_FILES} ${COMPOSE_CA_FILES}"
|
||||
|
||||
# stop org3 containers also in addition to org1 and org2, in case we were running sample to add org3
|
||||
|
|
|
|||
Loading…
Reference in a new issue