openvidu-test-e2e: use barcode.y4m file under /opt/openvidu path

pull/108/merge
pabloFuente 2018-08-31 10:20:32 +02:00
parent 2f6fb20b90
commit 437ec87099
4 changed files with 3 additions and 2 deletions

View File

@ -45,6 +45,7 @@ RUN apt-get -y install sudo
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*
RUN apt-get autoremove --purge -y RUN apt-get autoremove --purge -y
COPY barcode.y4m /opt/openvidu/barcode.y4m
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"] RUN ["chmod", "+x", "/entrypoint.sh"]

Binary file not shown.

View File

@ -3,7 +3,7 @@ node('container') {
docker.image('elastest/eus-browser-firefox:3.7.1').withRun('-p 4445:4444 -p 5901:5900 --shm-size=1g') { d -> docker.image('elastest/eus-browser-firefox:3.7.1').withRun('-p 4445:4444 -p 5901:5900 --shm-size=1g') { d ->
def mycontainer = docker.image('openvidu/openvidu-test-e2e:latest') def mycontainer = docker.image('openvidu/openvidu-test-e2e:latest')
mycontainer.pull() mycontainer.pull()
mycontainer.inside("-p 4200:4200 -p 4443:4443 -u root -e MY_UID=0 -v /var/run/docker.sock:/var/run/docker.sock:rw -v /dev/shm:/dev/shm -v /opt/openvidu/recordings:/opt/openvidu/recordings") { mycontainer.inside("-p 4200:4200 -p 4443:4443 -u root -e MY_UID=0 -v /var/run/docker.sock:/var/run/docker.sock:rw -v /dev/shm:/dev/shm -v /opt/openvidu/recordings:/opt/openvidu/recordings -v /opt/openvidu/barcode.y4m:/opt/openvidu/barcode.y4m") {
stage('Preparation') { stage('Preparation') {
sh 'rm -rf openvidu || true' sh 'rm -rf openvidu || true'
sh 'rm -rf /opt/openvidu/recordings/{,.[!.]}* || true' sh 'rm -rf /opt/openvidu/recordings/{,.[!.]}* || true'

View File

@ -1371,7 +1371,7 @@ public class OpenViduTestAppE2eTest {
@DisplayName("Video filter events test") @DisplayName("Video filter events test")
void videoFilterEventsTest() throws Exception { void videoFilterEventsTest() throws Exception {
setupChromeWithFakeVideo(Paths.get("/home/pablo/Desktop/barcode.y4m")); setupChromeWithFakeVideo(Paths.get("/opt/openvidu/barcode.y4m"));
log.info("Video filter events test"); log.info("Video filter events test");