2019-06-27 10:57:45 +03:00
|
|
|
cd $(dirname $0)
|
|
|
|
|
2019-08-27 17:26:49 +03:00
|
|
|
../e2e-commons/up.sh deploy monitor
|
2019-06-27 10:57:45 +03:00
|
|
|
|
2019-08-27 17:26:49 +03:00
|
|
|
./wait-for-monitor.sh
|
|
|
|
nohup ./periodically-check-all.sh < /dev/null > /dev/null 2>&1 &
|
|
|
|
checkPID=$!
|
2019-06-27 10:57:45 +03:00
|
|
|
|
2019-08-27 17:26:49 +03:00
|
|
|
docker-compose -f ../e2e-commons/docker-compose.yml run e2e yarn workspace monitor-e2e run start
|
|
|
|
rc=$?
|
2019-06-27 10:57:45 +03:00
|
|
|
|
2019-08-27 17:26:49 +03:00
|
|
|
../e2e-commons/down.sh
|
|
|
|
kill $checkPID
|
|
|
|
exit $rc
|