mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
16 lines
441 B
Bash
Executable File
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 |