Files
duplicati/pipeline/selenium/docker/runner.sh
T

9 lines
446 B
Bash
Executable File

mkdir /home/seluser/published/
chmod +S /home/seluser/published/
export DOTNET_CLI_TELEMETRY_OPTOUT=1
sudo dotnet publish -o /home/seluser/published/ /sources/Duplicati.sln
sudo /home/seluser/published/Duplicati.Server &
timeout 240 bash -c 'until printf "" 2>>/dev/null >>/dev/tcp/$0/$1; do sleep 1; echo Checking if server started...; done' 127.0.0.1 8200
echo Running Tests...
sudo python3 /sources/guiTests/guiTest.py --headless --use-chrome