Compare commits

..
11 Commits
Author SHA1 Message Date
budtmo d58eb73294 Using newest base image with Appium 1.22.3 2022-05-02 10:05:39 +02:00
budtmo 2756b7febc Updated base image that contains Appium 1.22.2 2022-04-25 16:03:44 +02:00
budtmo ee5630f893 Updated base image that contains Appium 1.22.1 2022-04-25 15:49:55 +02:00
budtmo a72a5d1edc Using python 3.8.12 on pipeline 2022-04-08 12:45:34 +02:00
budtmo 9f58ad6bda Dropped polyverse support 2022-04-08 12:35:43 +02:00
Budi UtomoandGitHub 94a3f40ac6 Merge pull request #314 from inez/patch-1
(documentation) Added information about SSHing to the virtual machine
2022-02-16 10:42:41 +01:00
Inez KorczyńskiandGitHub e340223c8c Add information about SSHing to the virtual machine 2021-12-22 16:38:23 -08:00
Budi UtomoandGitHub 77488aea7f Merge pull request #310 from JoelWhitney/joel/android-11-x86_64
Android 11 build issue with 32-bit image
2021-11-17 13:59:23 +01:00
Budi UtomoandGitHub 8f1c4bf1ca Merge branch 'master' into joel/android-11-x86_64 2021-11-17 11:45:03 +01:00
Budi UtomoandGitHub cd63313358 Changed polymorphing llink 2021-11-10 15:03:48 +01:00
Joel Whitney d0f9534e3d Android 11 build issue with 32-bit image 2021-11-04 13:02:32 -04:00
9 changed files with 25 additions and 58 deletions
+1 -4
View File
@@ -252,11 +252,8 @@ docker exec -it android-container tail -f /var/log/supervisor/docker-android.std
Emulator Skins
--------------
The Emulator skins are taken from [Android Studio IDE](https://developer.android.com/studio) and [Samsung Developer Website](e)
The Emulator skins are taken from [Android Studio IDE](https://developer.android.com/studio) and [Samsung Developer Website](https://developer.samsung.com/)
Security
--------
All docker images are protected by [Polyverse](https://polyverse.io/) by scrambling the Linux packages. For more information please visit [this link](https://youtu.be/eSZNP42n-pM)
Monitoring
----------
+10 -5
View File
@@ -39,7 +39,12 @@ The following instructions are used for OS X. You'll need [docker-machine-parall
4. Enable kvm inside virtual machine
4.0 Check kvm version
4.0 SSH to the machine
```bash
docker-machine ssh vmware-dev
```
4.1 Check kvm version
```bash
# version
$ 10.1
@@ -47,23 +52,23 @@ The following instructions are used for OS X. You'll need [docker-machine-parall
Go to http://tinycorelinux.net/10.x/x86_64/tcz/ and check your kvm version, for version 10.1 is kvm-4.19.10-tinycore64.tcz
4.1. Run as an account other than root to install kvm packages using tce-load.
4.2. Run as an account other than root to install kvm packages using tce-load.
```bash
# su docker
$ tce-load -wi kvm-4.19.10-tinycore64.tcz
```
4.2. Run as root to load kvm module after kvm packages install.
4.3. Run as root to load kvm module after kvm packages install.
```bash
$ sudo modprobe kvm_intel
```
4.3. Check if the kvm device is loaded.
4.4. Check if the kvm device is loaded.
```bash
$ ls /dev/kvm
```
4.4. Check if your CPU supports hardware virtualization now
4.5. Check if your CPU supports hardware virtualization now
```bash
$ egrep -c '(vmx|svm)' /proc/cpuinfo
```
+1 -13
View File
@@ -1,4 +1,4 @@
FROM appium/appium:v1.22.0-p0
FROM appium/appium:v1.22.3-p0
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
@@ -7,18 +7,6 @@ LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
#=============
WORKDIR /root
#===========
# Polyverse
# https://polyverse.io/how-it-works/
#===========
ARG TOKEN=xxx
RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \
if [ $? -eq 0 ]; then \
apt -y update && \
apt-get -y install --reinstall $(dpkg --get-selections | awk '{print $1}'); \
fi
#==================
# General Packages
#------------------
+1 -13
View File
@@ -1,4 +1,4 @@
FROM appium/appium:v1.22.0-p0
FROM appium/appium:v1.22.3-p0
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
@@ -7,18 +7,6 @@ LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
#=============
WORKDIR /root
#===========
# Polyverse
# https://polyverse.io/how-it-works/
#===========
ARG TOKEN=xxx
RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \
if [ $? -eq 0 ]; then \
apt -y update && \
apt-get -y install --reinstall $(dpkg --get-selections | awk '{print $1}'); \
fi
#==================
# General Packages
#------------------
+1 -13
View File
@@ -1,4 +1,4 @@
FROM appium/appium:v1.22.0-p0
FROM appium/appium:v1.22.3-p0
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
@@ -7,18 +7,6 @@ LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
#=============
WORKDIR /root
#===========
# Polyverse
# https://polyverse.io/how-it-works/
#===========
ARG TOKEN=xxx
RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \
if [ $? -eq 0 ]; then \
apt -y update && \
apt-get -y install --reinstall $(dpkg --get-selections | awk '{print $1}'); \
fi
#==================
# General Packages
#------------------
+3 -3
View File
@@ -31,8 +31,8 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.5'
displayName: 'Use Python 3.5'
versionSpec: '3.8.12'
displayName: 'Use Python 3.8.12'
- script: |
latest_tag=$(git describe --tags --abbrev=0)
@@ -42,7 +42,7 @@ jobs:
- script: |
docker login -u $(DOCKER_USERNAME) -p=$(DOCKER_PASSWORD)
TOKEN=$(polyverse_token) ./release.sh all $(android.version) $(release_version)
./release.sh all $(android.version) $(release_version)
docker logout
displayName: 'Build docker image, run unit tests and push the docker image'
+3 -3
View File
@@ -17,8 +17,8 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.5'
displayName: 'Use Python 3.5'
versionSpec: '3.8.12'
displayName: 'Use Python 3.8.12'
- script: |
latest_tag=$(git describe --tags --abbrev=0)
@@ -28,7 +28,7 @@ jobs:
- script: |
docker login -u $(DOCKER_USERNAME) -p=$(DOCKER_PASSWORD)
TOKEN=$(p_token) $(script.name) all $(release_version)
$(script.name) all $(release_version)
docker logout
displayName: 'Build docker image, run unit tests and push the docker image'
+2 -2
View File
@@ -19,8 +19,8 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.5'
displayName: 'Use Python 3.5'
versionSpec: '3.8.12'
displayName: 'Use Python 3.8.12'
- script: pip install -r requirements.txt
displayName: 'Install pip packages'
- script: ./release.sh test 7.1.1 $(app_version)
+3 -2
View File
@@ -153,8 +153,9 @@ function build() {
#adb root cannot be run in IMG_TYPE=google_apis_playstore
IMG_TYPE=google_apis
BROWSER=chrome
# Google dropped 32-bit support at Android 12
if [ "$v" == "9.0" ] || [ $level -ge 31 ]; then
# Android 9 & Android 11 had build issues that requires 64-bit
# Android 12+ Google dropped 32-bit support
if [ "$v" == "9.0" ] || [ $level -ge 30 ]; then
processor=x86_64
fi
fi