Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions clean_and_preload_parity_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ echo "waiting 5s for chains to start up"
sleep 5
docker-compose up -d smart-contracts-init
INITSTATUS=`docker wait streamr-dev-smart-contracts-init`

docker logs streamr-dev-smart-contracts-init &> $LOG

# remove timestamps in order to see in diffs if logs have changed
sed "s/^2022-[^ ]* //g" $LOG > tmp.log
cp tmp.log $LOG

echo "streamr-dev-smart-contracts-init finished with status $INITSTATUS. Logs in $LOG"
test $INITSTATUS -ne 0 && echo "streamr-dev-smart-contracts-init failed" && exit 1
docker exec streamr-dev-parity-sidechain-node0 /bin/bash -c 'mv /home/parity/parity_data /home/parity/parity_data.default'
Expand Down