Renamed type for consistency in article
This commit is contained in:
parent
46d3a4f8c1
commit
b285d8a1da
|
@ -11,7 +11,7 @@ You can easily scale your Appium tests on Genymotion Android virtual devices in
|
|||
export PASS="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">
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
- $PWD/sample_apk:/root/tmp/sample_apk
|
||||
- $PWD/sample_devices:/root/tmp
|
||||
environment:
|
||||
- TYPE=genycloud
|
||||
- TYPE=SaaS
|
||||
- TEMPLATE=/root/tmp/devices.json
|
||||
- USER=$USER
|
||||
- PASS=$PASS
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# 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
|
||||
echo "Please specify one of following types: ${types[@]}"
|
||||
|
|
|
@ -321,7 +321,7 @@ elif [ "$GENYMOTION" = true ]; then
|
|||
echo "${types[@]}"
|
||||
case $TYPE in
|
||||
"${types[0]}" )
|
||||
echo "Using Genymotion-Cloud"
|
||||
echo "Using Genymotion-Cloud (SaaS)"
|
||||
prepare_geny_cloud
|
||||
run_appium
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue