mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
circle: save p2p logs as artifacts (#2566)
This commit is contained in:
@@ -6,7 +6,7 @@ SOURCE="${BASH_SOURCE[0]}"
|
||||
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
||||
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||
|
||||
LOGS_DIR="$DIR/../logs"
|
||||
LOGS_DIR="$DIR/logs"
|
||||
echo
|
||||
echo "* [$(date +"%T")] cleaning up $LOGS_DIR"
|
||||
rm -rf "$LOGS_DIR"
|
||||
@@ -33,3 +33,7 @@ fi
|
||||
echo
|
||||
echo "* [$(date +"%T")] running p2p tests on a local docker network"
|
||||
bash "$DIR/../p2p/test.sh" tester
|
||||
|
||||
echo
|
||||
echo "* [$(date +"%T")] copying log files out of docker container into $LOGS_DIR"
|
||||
docker cp rsyslog:/var/log $LOGS_DIR
|
||||
|
||||
Reference in New Issue
Block a user