Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 890bd9f

Browse files
authored
Merge pull request #36 from startupturbo/dmius-paths-fix
Paths fix + report changed
2 parents 6c475fc + 63bd69a commit 890bd9f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nancy_run.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ then
661661
if [[ $AFTER_DB_INIT_CODE =~ "s3://" ]]; then
662662
docker_exec s3cmd sync $AFTER_DB_INIT_CODE $MACHINE_HOME/
663663
else
664-
docker-machine scp $AFTER_DB_INIT_CODE $DOCKER_MACHINE:/home/ubuntu
664+
docker-machine scp $AFTER_DB_INIT_CODE $DOCKER_MACHINE:/home/ubuntu/nancy_$containerHash
665665
fi
666666
docker_exec bash -c "psql -U postgres test -E -f $MACHINE_HOME/$AFTER_DB_INIT_CODE_FILENAME"
667667
fi
@@ -747,7 +747,8 @@ if ([ ! -z ${TARGET_DDL_UNDO+x} ] && [ "$TARGET_DDL_UNDO" != "" ]); then
747747
fi
748748

749749
echo -e "Run done!"
750-
echo -e "Result log: $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.json"
750+
echo -e "Report: $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.json"
751+
echo -e "Query log: $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.log.gz"
751752
echo -e "-------------------------------------------"
752753
echo -e "Summary:"
753754
echo -e " Queries number:\t\t" $(cat $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.json | jq '.overall_stat.queries_number')

0 commit comments

Comments
 (0)