Skip to content

Commit

Permalink
Merge pull request #52 from zebrunner/develop
Browse files Browse the repository at this point in the history
named default provider/location as mcloud-android
  • Loading branch information
vdelendik authored Apr 29, 2021
2 parents daf0c99 + 3e224f0 commit 5ff6248
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ENV ADB_PORT 5037
ENV APPIUM_LOG_LEVEL debug
ENV APPIUM_RELAXED_SECURITY --relaxed-security

ENV STF_PROVIDER_NAME mcloud-android
ENV STF_PROVIDER_PUBLIC_IP localhost
ENV STF_PROVIDER_DEVICE_NAME device
ENV DEVICE_UDID ab12345
Expand Down
7 changes: 3 additions & 4 deletions files/start_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ npm link --force node@8
sleep 3
node --version

stf provider --name "${DEVICE_UDID}" \
stf provider \
--connect-url-pattern "${STF_HOST_PROVIDER}:<%= publicPort %>" \
--storage-url ${WEB_PROTOCOL}://${STF_PROVIDER_PUBLIC_IP}/ \
--screen-ws-url-pattern "${SOCKET_PROTOCOL}://${STF_PROVIDER_PUBLIC_IP}/d/${STF_HOST_PROVIDER}/<%= serial %>/<%= publicPort %>/" &

echo "---------------------------------------------------------"
#show existing processes
echo "processes after start:"
ps -ef
echo "---------------------------------------------------------"

Expand All @@ -92,9 +92,8 @@ adb_pids=`pidof adb`
echo wait -n $node_pids $python_pids $adb_pids
wait -n $node_pids $python_pids $adb_pids


echo "Exit status: $?"
echo "---------------------------------------------------------"
echo "processes before exit:"
ps -ef
echo "---------------------------------------------------------"

0 comments on commit 5ff6248

Please sign in to comment.