Skip to content

Commit

Permalink
Merge pull request #126 from zebrunner/develop
Browse files Browse the repository at this point in the history
2.2.1 rc
  • Loading branch information
vdelendik authored Apr 29, 2022
2 parents 97c77c8 + a391cc5 commit 42f1dba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DEVICE_IMAGE: zebrunner/mcloud-device
DEVICE_VERSION: 2.2
DEVICE_VERSION: 2.2.1

APPIUM_IMAGE: public.ecr.aws/zebrunner/appium
APPIUM_VERSION: 1.4
APPIUM_VERSION: 1.4.1

DEVELOPER_IMAGES: {12.0, 12.1, 12.2, 12.3, 12.4, 13.0, 13.1, 13.2, 13.3, 13.4, 13.5, 13.6, 13.7, 14.0, 14.1, 14.2, 14.3, 14.4, 14.5, 14.6, 14.7, 14.8, 15.0, 15.1, 15.2, 15.3, 15.4}
8 changes: 4 additions & 4 deletions roles/devices/templates/zebrunner-farm
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function create_containers () {

if [ $platform_name == "android" ]; then
docker run -itd --name device-${device_name}-${udid}-appium --network ${net} \
--restart on-failure:3 \
--restart on-failure \
--device=/dev/device-${device_name}-${udid}:/dev/bus/usb/003/011 \
-v mcloud-key-volume:/root/.android \
-v appium-storage-volume:/opt/appium-storage \
Expand Down Expand Up @@ -101,7 +101,7 @@ function create_containers () {
--device=/dev/device-${device_name}-${udid}:/dev/bus/usb/003/011 \
-e STF_PROVIDER_ADB_HOST=appium \
--health-start-period 60s \
--restart on-failure:3 \
--restart on-failure \
-e PLATFORM_NAME=$platform_name \
-e STF_PROVIDER_DEVICE_NAME="${device_name}" -e DEVICE_UDID="${udid}" \
-e STF_PROVIDER_HOST={{ STF_PROVIDER_HOST }} \
Expand All @@ -120,7 +120,7 @@ function create_containers () {
# TODO: run our appium container tuned for iOS. Combine later into the single run command
# candidates for removal: ADB_PORT, STF_PROVIDER_MAX_PORT
docker run -itd --name device-${device_name}-${udid}-appium --network ${net} \
--restart on-failure:3 \
--restart on-failure \
-v appium-storage-volume:/opt/appium-storage \
-v mcloud-storage-volume:/opt/zebrunner \
-v /var/run/usbmuxd:/var/run/usbmuxd \
Expand Down Expand Up @@ -152,7 +152,7 @@ function create_containers () {

#TODO: invetsigate if we need linking with appium container for iOS
docker run -d --name device-${device_name}-${udid} --log-opt max-size=50m -m 1g --net=${net} \
--restart on-failure:3 \
--restart on-failure \
--link device-${device_name}-${udid}-appium:appium \
-v mcloud-storage-volume:/opt/zebrunner \
-v /var/run/usbmuxd:/var/run/usbmuxd \
Expand Down

0 comments on commit 42f1dba

Please sign in to comment.