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 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">
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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[@]}"
|
||||||
|
|
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue