Skip to content

Commit 0f7367e

Browse files
authored
Fix minor issues after PR #1881 and #1981 (#1983)
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
1 parent 020ded4 commit 0f7367e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Video/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LABEL authors="Selenium <selenium-developers@googlegroups.com>"
66
#========================
77
RUN apk update \
88
&& apk upgrade \
9-
&& apk add --no-cache --update --virtual .build-deps supervisor bash curl jq xset python3 py3-psutil py3-pip \
9+
&& apk add --no-cache --update --virtual .build-deps supervisor bash curl jq xset xdpyinfo python3 py3-psutil py3-pip \
1010
&& ln -sf python3 /usr/bin/python \
1111
&& rm -rf /tmp/* /var/cache/apk/*
1212

Video/supervisord.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pidfile=/var/run/supervisor/supervisord.pid ; (supervisord pidfile;default sup
1010
nodaemon=true ; (start in foreground if true;default false)
1111
minfds=1024 ; (min. avail startup file descriptors;default 1024)
1212
minprocs=200 ; (min. avail process descriptors;default 200)
13+
user=root ; (default is current user, required if root)
1314

1415
[program:video-recording]
1516
priority=0

charts/selenium-grid/templates/video-cm.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ data:
2020
return_code=1
2121
max_attempts=600
2222
attempts=0
23-
mkfifo /videos/uploadpipe
23+
if [ ! -p /videos/uploadpipe ];
24+
then
25+
mkfifo /videos/uploadpipe
26+
fi
2427
if [[ "$UPLOAD_DESTINATION_PREFIX" = "" ]]
2528
then
2629
echo Upload destination not known since UPLOAD_DESTINATION_PREFIX is not set. Exiting video recorder.

0 commit comments

Comments
 (0)