Merge "Check compose cmd result"
This commit is contained in:
commit
334fdc2962
@ -21,6 +21,10 @@ function process {
|
|||||||
local service=$1
|
local service=$1
|
||||||
echo "$ACTION $service"
|
echo "$ACTION $service"
|
||||||
docker-compose -f ./compose/${service}.yml $COMPOSE_CMD
|
docker-compose -f ./compose/${service}.yml $COMPOSE_CMD
|
||||||
|
if [[ $? -ne 0 ]]; then
|
||||||
|
echo "Call docker-compose -f ./compose/${service}.yml $COMPOSE_CMD fail."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function process_all {
|
function process_all {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user