Cleaned up
This commit is contained in:
parent
e2800863e8
commit
da177442ce
|
@ -94,7 +94,7 @@ ENV DISPLAY=:0 \
|
|||
#====================
|
||||
# Install genymotion
|
||||
#====================
|
||||
RUN echo | ssh-keygen
|
||||
RUN echo | ssh-keygen -q
|
||||
ARG GENYMOTION_VERSION=2.12.1
|
||||
ENV GENYMOTION=true \
|
||||
GENYMOTION_VERSION=$GENYMOTION_VERSION \
|
||||
|
|
|
@ -28,7 +28,6 @@ services:
|
|||
- CONNECT_TO_GRID=true
|
||||
|
||||
# Please stop this container by using docker stop instead of docker-compose stop
|
||||
# The implementation still in progress
|
||||
aws:
|
||||
image: butomo1989/docker-android-genymotion
|
||||
depends_on:
|
||||
|
|
|
@ -76,7 +76,7 @@ provider "aws" {
|
|||
}
|
||||
|
||||
resource "aws_security_group" "geny_sg_$index" {
|
||||
provider = "aws.provider_$index"
|
||||
provider = "aws.provider_$index"
|
||||
ingress {
|
||||
from_port = 0
|
||||
to_port = 65535
|
||||
|
@ -186,17 +186,17 @@ elif [ "$GENYMOTION" = true ]; then
|
|||
echo "Using Genymotion"
|
||||
echo "${types[@]}"
|
||||
case $TYPE in
|
||||
"${types[0]}" )
|
||||
echo "Using Genymotion-Cloud"
|
||||
"${types[0]}" )
|
||||
echo "Using Genymotion-Cloud"
|
||||
prepare_geny_cloud
|
||||
run_appium
|
||||
;;
|
||||
"${types[1]}" )
|
||||
echo "Using Genymotion-AWS"
|
||||
prepare_geny_aws
|
||||
run_appium
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
"${types[1]}" )
|
||||
echo "Using Genymotion-AWS"
|
||||
prepare_geny_aws
|
||||
run_appium
|
||||
;;
|
||||
esac
|
||||
else
|
||||
echo "Using Emulator"
|
||||
python3 -m src.app
|
||||
|
|
Loading…
Reference in a new issue