Renamed type for consistency in article

This commit is contained in:
butomo1989 2018-11-29 09:06:17 +01:00
parent 46d3a4f8c1
commit b285d8a1da
4 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ You can easily scale your Appium tests on Genymotion Android virtual devices in
export PASS="xxx" export PASS="xxx"
export LICENSE="xxx" export LICENSE="xxx"
docker run -it --rm -p 4723:4723 -v $PWD/genymotion/example/sample_devices:/root/tmp -e TYPE=genycloud -e USER=$USER -e PASS=$PASS -e LICENSE=$LICENSE butomo1989/docker-android-genymotion docker run -it --rm -p 4723:4723 -v $PWD/genymotion/example/sample_devices:/root/tmp -e TYPE=SaaS -e USER=$USER -e PASS=$PASS -e LICENSE=$LICENSE butomo1989/docker-android-genymotion
``` ```
<p align="center"> <p align="center">

View file

@ -20,7 +20,7 @@ services:
- $PWD/sample_apk:/root/tmp/sample_apk - $PWD/sample_apk:/root/tmp/sample_apk
- $PWD/sample_devices:/root/tmp - $PWD/sample_devices:/root/tmp
environment: environment:
- TYPE=genycloud - TYPE=SaaS
- TEMPLATE=/root/tmp/devices.json - TEMPLATE=/root/tmp/devices.json
- USER=$USER - USER=$USER
- PASS=$PASS - PASS=$PASS

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# This script is needed because of https://www.ctl.io/developers/blog/post/gracefully-stopping-docker-containers/ # This script is needed because of https://www.ctl.io/developers/blog/post/gracefully-stopping-docker-containers/
types=(genycloud aws) types=(saas aws)
if [ -z "$TYPE" ]; then if [ -z "$TYPE" ]; then
echo "Please specify one of following types: ${types[@]}" echo "Please specify one of following types: ${types[@]}"

View file

@ -321,7 +321,7 @@ elif [ "$GENYMOTION" = true ]; then
echo "${types[@]}" echo "${types[@]}"
case $TYPE in case $TYPE in
"${types[0]}" ) "${types[0]}" )
echo "Using Genymotion-Cloud" echo "Using Genymotion-Cloud (SaaS)"
prepare_geny_cloud prepare_geny_cloud
run_appium run_appium
;; ;;