2017-06-28 20:57:58 +07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
echo "Build services images..."
|
|
|
|
./scripts/dc-test.sh build
|
|
|
|
|
|
|
|
echo "Start services..."
|
2017-07-14 05:25:11 +07:00
|
|
|
./scripts/dc-test.sh up -d redis openldap
|
|
|
|
sleep 2
|
|
|
|
./scripts/dc-test.sh up -d authelia nginx
|
2017-06-28 20:57:58 +07:00
|
|
|
sleep 3
|
|
|
|
docker ps -a
|
|
|
|
|
|
|
|
echo "Display services logs..."
|
|
|
|
./scripts/dc-test.sh logs authelia
|
|
|
|
./scripts/dc-test.sh logs nginx
|
|
|
|
./scripts/dc-test.sh logs openldap
|
|
|
|
|
|
|
|
echo "Run integration tests..."
|
|
|
|
./scripts/dc-test.sh run --rm --name int-test int-test
|
|
|
|
|
|
|
|
echo "Shutdown services..."
|
|
|
|
./scripts/dc-test.sh down
|