1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
checktheroads 5128c18c76 fix build jobs
2020-02-22 00:06:35 -07:00

16 lines
441 B
Bash
Executable File

#!/bin/sh -l
cd /tmp/hyperglass
echo "Starting setup..."
poetry run hyperglass setup -d
echo "Setup completed"
sleep 2
echo "Starting UI build"
poetry run hyperglass build-ui
echo "UI build completed"
echo "Starting hyperglass..."
poetry run hyperglass start &> /var/log/hyperglassci.log &
echo "Started hyperglass"
echo "Running HTTP test..."
curl -s -o /dev/null -w "%{http_code}" http://localhost:8001
echo "Tests ran successfully"
exit 0