Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lbry
ytsync
Commits
91d8b1a1
Unverified
Commit
91d8b1a1
authored
Aug 04, 2019
by
Mark Beamer Jr
Browse files
ci test
parent
d9e33b74
Changes
1
Hide whitespace changes
Inline
Side-by-side
e2e/e2e.sh
View file @
91d8b1a1
...
...
@@ -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 "127.0.0.1" -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
"127.0.0.1"
-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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment