Files
duplicati/pipeline/selenium/docker/runner.sh
T
2021-01-07 21:43:58 -08:00

9 lines
416 B
Bash
Executable File

mkdir /home/seluser/published/
chmod +S /home/seluser/published/
sudo dotnet publish -o /home/seluser/published/ /sources/Duplicati.sln
cd
AUTOUPDATER_Duplicati_SKIP_UPDATE=1 "/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...
python3 /sources/guiTests/guiTest.py