Unverified Commit 91d8b1a1 authored by Mark Beamer Jr's avatar Mark Beamer Jr
Browse files

ci test

parent d9e33b74
......@@ -33,6 +33,10 @@ docker-compose rm -f
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
docker-compose pull
if [ -d persist ]; then rm -r persist; fi
mkdir persist
mkdir persist/.lbrynet
ls -lha ./persist/.lbrynet
chmod u+rw ./persist/.lbrynet
docker-compose up -d
printf 'waiting for internal apis'
until $(curl --output /dev/null --silent --head --fail http://localhost:15400); do
......@@ -65,8 +69,9 @@ mysql -u lbry -plbry -D lbry -h "" -P 15500 -e "$ADDYTCHANNEL"
./../bin/ytsync --channelID="UCCyr5j8akeu9j4Q7urV0Lqw" #Force channel intended...just in case. This channel lines up with the api container
# Assert the status
status=$(mysql -u lbry -plbry -ss -D lbry -h "" -P 15500 -e 'SELECT status FROM youtube_data WHERE id=1')
if [ $status != "synced" ]; then
docker-compose logs --tail="all" lbrycrd
docker-compose logs --tail="all" walletserver
docker-compose logs --tail="all" lbrynet
docker-compose logs --tail="all" internalapis
if [ $status != "synced" ]; then exit 1; fi;
\ No newline at end of file
exit 1; fi;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment