Skip to content

Commit

Permalink
#218: removed usage of /opt/zebrunner mcloud-storage-volume
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelendik committed Nov 21, 2023
1 parent 56e9406 commit b727990
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions roles/devices/templates/zebrunner-farm
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ function create_containers () {
--restart on-failure $DEVICE_ARG \
-v mcloud-key-volume:/root/.android \
-v appium-storage-volume:/opt/appium-storage \
-v mcloud-storage-volume:/opt/zebrunner \
-v device-${device_name}-${udid}:/tmp/log \
-e TASK_LOG=/tmp/log/appium.log \
-e PLATFORM_NAME=$platform_name \
Expand Down Expand Up @@ -187,7 +186,6 @@ function create_containers () {
docker run -itd --name device-${device_name}-${udid}-appium -m 1g --log-opt max-size=1024m --log-opt max-file=2 --net=${net} \
--restart on-failure \
-v appium-storage-volume:/opt/appium-storage \
-v mcloud-storage-volume:/opt/zebrunner \
-v device-${device_name}-${udid}:/tmp/log \
-v device-${device_name}-${udid}-lockdown:/var/lib/lockdown \
--device=/dev/device-${device_name}-${udid}:${usb_bus} \
Expand Down Expand Up @@ -230,7 +228,6 @@ function create_containers () {
docker run -d --name device-${device_name}-${udid} --log-opt max-size=1024m --log-opt max-file=2 --net=${net} \
--restart on-failure \
--link device-${device_name}-${udid}-appium:appium \
-v mcloud-storage-volume:/opt/zebrunner \
-e WDA_HOST=appium \
-e WDA_WAIT_TIMEOUT=180 \
-e PLATFORM_NAME=$platform_name \
Expand Down
2 changes: 0 additions & 2 deletions roles/mac-devices/templates/zebrunner-farm
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ function create_containers () {
-e USBMUXD_SOCKET_ADDRESS={{ USBMUXD_SOCKET_ADDRESS }} \
--restart on-failure \
-v appium-storage-volume:/opt/appium-storage \
-v mcloud-storage-volume:/opt/zebrunner \
-v device-${device_name}-${udid}:/tmp/log \
-e TASK_LOG=/tmp/log/appium.log \
-e APPIUM_CLI="--session-override" \
Expand Down Expand Up @@ -208,7 +207,6 @@ function create_containers () {
-e USBMUXD_SOCKET_ADDRESS={{ USBMUXD_SOCKET_ADDRESS }} \
--restart on-failure \
--link device-${device_name}-${udid}-appium:appium \
-v mcloud-storage-volume:/opt/zebrunner \
-e WDA_HOST=appium \
-e WDA_WAIT_TIMEOUT=180 \
-e PLATFORM_NAME=$platform_name \
Expand Down
1 change: 0 additions & 1 deletion zebrunner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
rm -f roles/mac-devices/vars/main.yml

docker volume rm appium-storage-volume
docker volume rm mcloud-storage-volume
}

status() {
Expand Down

0 comments on commit b727990

Please sign in to comment.