@@ -12,11 +12,34 @@ ENV APPIUM_APPS_DIR=/opt/appium-storage
1212ENV APPIUM_APP_WAITING_TIMEOUT=600
1313ENV APPIUM_MAX_LOCK_FILE_LIFETIME=1800
1414ENV APPIUM_APP_FETCH_RETRIES=0
15- ENV APPIUM_CLI=
16-
1715ENV APPIUM_APP_SIZE_DISABLE=false
1816
19- ENV APPIUM_PLUGINS=
17+ # ###############################################
18+ # ######## NODE CONFIGURATION VARIABLES #########
19+ # Hub hostname or IP address
20+ ENV SELENIUM_HOST localhost
21+ # Hub port
22+ ENV SELENIUM_PORT 4444
23+ # How often, in seconds, the Node will try to register itself for the first time to the Distributor.
24+ ENV REGISTER_CYCLE 300
25+ # How long, in seconds, will the Node try to register to the Distributor for the first time.
26+ # After this period is completed, the Node will not attempt to register again.
27+ ENV REGISTER_PERIOD 1000
28+ # How often, in seconds, will the Node send heartbeat events to the Distributor to inform it that the Node is up.
29+ ENV HEARTBEAT_PERIOD 5
30+ # Let X be the session-timeout in seconds.
31+ # The Node will automatically kill a session that has not had any activity in the last X seconds.
32+ # This will release the slot for other tests.
33+ ENV GRID_BROWSER_TIMEOUT 180
34+ # todo add description
35+ ENV PUBLISH_EVENTS_PORT 4442
36+ # todo add description
37+ ENV SUBSCRIBE_EVENTS_PORT 4443
38+ # Log level. Default logging level is INFO. Log levels are described here
39+ # https://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html
40+ ENV LOG_LEVEL INFO
41+ ENV HTTP_LOGS false
42+ # ###############################################
2043
2144# Default appium 2.0 ueser:
2245# uid=1300(androidusr) gid=1301(androidusr) groups=1301(androidusr)
@@ -35,7 +58,6 @@ ENV PROXY_PORT=8080
3558ENV CHROMEDRIVER_AUTODOWNLOAD=true
3659
3760# Log settings
38- ENV LOG_LEVEL=info
3961ENV LOG_DIR=/tmp/log
4062ENV TASK_LOG=/tmp/log/appium.log
4163ENV LOG_FILE=session.log
@@ -82,6 +104,16 @@ COPY files/check-wda.sh /opt
82104COPY files/zbr-config-gen.sh /opt
83105COPY files/zbr-default-caps-gen.sh /opt
84106
107+ COPY target/mcloud-node-1.0.jar \
108+ /opt
109+ COPY target/mcloud-node.jar \
110+ /opt
111+
112+ COPY agent/target/mcloud-node-agent-1.0.jar \
113+ /opt
114+ COPY agent/target/mcloud-node-agent.jar \
115+ /opt
116+
85117ENV ENTRYPOINT_DIR=/opt/entrypoint
86118RUN mkdir -p ${ENTRYPOINT_DIR}
87119COPY entrypoint.sh ${ENTRYPOINT_DIR}
0 commit comments