Commit da7c081d32807127d36aac8e3c78ea72705ce50d

Authored by Alexis Koralewski
1 parent e1e75163
Exists in dev

remove extension from PYROS_DOCKER bash scripts

docker/PYROS_DOCKER_INSTALL.sh renamed to docker/PYROS_DOCKER_INSTALL
... ... @@ -3,9 +3,14 @@
3 3 # if no container is running
4 4 if ! docker ps | grep -q 'db_pyros|pyros'
5 5 then
  6 + echo "db_pyros or pyros weren't running, starting them..."
6 7 ./PYROS_DOCKER_START.bat
7 8 fi
8 9 # while db container isn't ready to execute queries, wait 5 seconds
  10 +if ! docker inspect db_pyros --format='{{.State.Health.Status}}' | grep -q 'healthy'
  11 +then
  12 + echo "db service isn't ready yet, waiting until it's ready..."
  13 +fi
9 14 while ! docker inspect db_pyros --format='{{.State.Health.Status}}' | grep -q 'healthy'
10 15 do
11 16 sleep 5
... ...
docker/PYROS_DOCKER_RUN.sh renamed to docker/PYROS_DOCKER_RUN
... ... @@ -3,6 +3,7 @@
3 3 #if no container is running
4 4 if ! docker ps | grep -q 'db_pyros|pyros'
5 5 then
  6 + echo "db_pyros or pyros weren't running, starting them..."
6 7 ./PYROS_DOCKER_START.bat
7 8 fi
8 9 docker exec -it pyros python3 pyros.py start webserver
... ...
docker/PYROS_DOCKER_SHELL.sh renamed to docker/PYROS_DOCKER_SHELL
... ... @@ -3,6 +3,7 @@
3 3 #if no container is running
4 4 if ! docker ps | grep -q 'db_pyros|pyros'
5 5 then
  6 + echo "db_pyros or pyros weren't running, starting them..."
6 7 ./PYROS_DOCKER_START.bat
7 8 fi
8 9 docker exec -it pyros bash
9 10 \ No newline at end of file
... ...
docker/PYROS_DOCKER_TEST.sh renamed to docker/PYROS_DOCKER_TEST
... ... @@ -3,6 +3,7 @@
3 3 # if no container is running
4 4 if ! docker ps | grep -q 'db_pyros|pyros'
5 5 then
  6 + echo "db_pyros or pyros weren't running, starting them..."
6 7 ./PYROS_DOCKER_START.bat
7 8 fi
8 9 docker exec -it pyros python3 pyros.py test
... ...
docker/PYROS_DOCKER_UPDATE.sh renamed to docker/PYROS_DOCKER_UPDATE
... ... @@ -3,7 +3,8 @@
3 3 # if no container is running
4 4 if ! docker ps | grep -q 'db_pyros|pyros'
5 5 then
6   - ./PYROS_DOCKER_START.bat
  6 + echo "db_pyros or pyros weren't running, starting them..."
  7 + ./PYROS_DOCKER_START.bat
7 8 fi
8 9 docker exec -it pyros python3 pyros.py update
9 10  
... ...