Blame view

docker/PYROS_DOCKER_TEST 344 Bytes
e64cdd09   ALEXIS-PC\alexis   improving check a...
1
#!/usr/bin/env bash
e1e75163   Alexis Koralewski   fixing issue with...
2

a1cd846d   Alexis Koralewski   add export on pyr...
3
4
5
6
export CURRENT_UID=$(id -u)
export COMPUTER_HOSTNAME=$HOSTNAME


e1e75163   Alexis Koralewski   fixing issue with...
7
# if no container is running
e1d22a59   Alexis Koralewski   Change redis cont...
8
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
e1e75163   Alexis Koralewski   fixing issue with...
9
then
ec4214ff   Alexis Koralewski   Renaming pyros co...
10
    echo "pyros-db or pyros weren't running, starting them..."
b1e4e4dd   Etienne Pallier   Renamed scripts P...
11
    ./PYROS_DOCKER_START
2da110b4   Etienne Pallier   fix call to START...
12
    #./PYROS_DOCKER_START.bat
e1e75163   Alexis Koralewski   fixing issue with...
13
fi
1b11a72f   Alexis Koralewski   Update docker scr...
14
docker compose exec pyros python3 pyros.py test $@
e1e75163   Alexis Koralewski   fixing issue with...