Test Architecture
Test Steps
Step 1: Write Shell Script
Develop-Test Script
cd /root
yum install -y npm
yum install -y git
yum install -y docker
yum update -y
systemctl restart docker
sleep 3
npm install http-server -g
rm -rf openvidu-vr
git clone https://github.com/OpenVidu/openvidu-vr.git
cd /root/openvidu-vr/openvidu-vr-room/
sed -i 's/demos.openvidu.io/49.51.201.127/g' app.js
sleep 3
docker run --rm --name openvidu_server -d -p 4443:4443 -e openvidu.secret=MY_SECRET -e openvidu.publicurl=https://49.51.201.127:4443/ openvidu/openvidu-server-kms
sleep 6
Run-Test Script
cd /root/openvidu-vr/openvidu-vr-room
http-server -S
Step 2: Jenkins triggers the script run on Jenkins Slaveve Node
Open Firefox and visit the website