Add debug logging to CI scripts (#1007)

Add debug logging to CI scripts.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
Dave Enyeart 2023-03-17 09:11:30 -04:00 committed by GitHub
parent 97a400ea28
commit efbecb6d10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -30,6 +30,9 @@ function stopNetwork() {
./network.sh down ./network.sh down
} }
# print all executed commands to assist with debug in CI environment
set -x
# Set up one test network to run each test scenario. # Set up one test network to run each test scenario.
# Each test will create an independent scope by installing a new chaincode contract to the channel. # Each test will create an independent scope by installing a new chaincode contract to the channel.
createNetwork createNetwork
@ -77,3 +80,5 @@ popd
stopNetwork stopNetwork
{ set +x; } 2>/dev/null

View file

@ -30,6 +30,9 @@ function stopNetwork() {
./network.sh down ./network.sh down
} }
# print all executed commands to assist with debug in CI environment
set -x
# Set up one test network to run each test scenario. # Set up one test network to run each test scenario.
# Each test will create an independent scope by installing a new chaincode contract to the channel. # Each test will create an independent scope by installing a new chaincode contract to the channel.
createNetwork createNetwork
@ -69,3 +72,5 @@ popd
stopNetwork stopNetwork
{ set +x; } 2>/dev/null