This commit is contained in:
parent
ff4caa0ce2
commit
7eec7c27f4
|
@ -302,7 +302,7 @@ jobs:
|
||||||
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint
|
||||||
- run: bash test/p2p/circleci.sh
|
- run: bash test/p2p/circleci.sh
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: $GOPATH/src/github.com/tendermint/tendermint/test/logs
|
path: /home/circleci/project/test/p2p/logs
|
||||||
|
|
||||||
upload_coverage:
|
upload_coverage:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -182,7 +182,9 @@ test_p2p:
|
||||||
cd ..
|
cd ..
|
||||||
# requires 'tester' the image from above
|
# requires 'tester' the image from above
|
||||||
bash test/p2p/test.sh tester
|
bash test/p2p/test.sh tester
|
||||||
docker cp rsyslog:/var/log test/logs
|
# the `docker cp` takes a really long time; uncomment for debugging
|
||||||
|
#
|
||||||
|
# mkdir -p test/p2p/logs && docker cp rsyslog:/var/log test/p2p/logs
|
||||||
|
|
||||||
test_integrations:
|
test_integrations:
|
||||||
make build_docker_test_image
|
make build_docker_test_image
|
||||||
|
|
|
@ -6,7 +6,7 @@ SOURCE="${BASH_SOURCE[0]}"
|
||||||
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
||||||
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||||
|
|
||||||
LOGS_DIR="$DIR/../logs"
|
LOGS_DIR="$DIR/logs"
|
||||||
echo
|
echo
|
||||||
echo "* [$(date +"%T")] cleaning up $LOGS_DIR"
|
echo "* [$(date +"%T")] cleaning up $LOGS_DIR"
|
||||||
rm -rf "$LOGS_DIR"
|
rm -rf "$LOGS_DIR"
|
||||||
|
@ -35,5 +35,5 @@ echo "* [$(date +"%T")] running p2p tests on a local docker network"
|
||||||
bash "$DIR/../p2p/test.sh" tester
|
bash "$DIR/../p2p/test.sh" tester
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "* [$(date +"%T")] copying log files out of docker container in $LOGS_DIR"
|
echo "* [$(date +"%T")] copying log files out of docker container into $LOGS_DIR"
|
||||||
docker cp rsyslog:/var/log $LOGS_DIR
|
docker cp rsyslog:/var/log $LOGS_DIR
|
||||||
|
|
Loading…
Reference in New Issue