mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
27 lines
719 B
YAML
27 lines
719 B
YAML
version: 2.1
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: ../.tests/DockerfileUbuntu
|
|
steps:
|
|
- run:
|
|
name: Setup
|
|
command: |
|
|
redis-server &
|
|
cd /tmp/hyperglass
|
|
poetry run hyperglass setup -d
|
|
poetry run hyperglass build-ui
|
|
- run:
|
|
name: Set listen_address
|
|
command: |
|
|
echo "listen_address: 127.0.0.1" >> /root/hyperglass/hyperglass.yaml
|
|
- run:
|
|
name: Start
|
|
command: |
|
|
poetry run hyperglass start &> /var/log/hyperglassci.log &
|
|
sleep 10
|
|
- run:
|
|
name: Test
|
|
command: |
|
|
curl -s -o /dev/null -w "%{http_code}" http://localhost:8001
|