1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 17:50:13 +01:00

Merge pull request #85 from oceanprotocol/fix/force_pull

fix force pull
This commit is contained in:
Javier Cortejoso 2018-12-19 10:50:14 +01:00 committed by GitHub
commit b97632d1b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ while :; do
printf $COLOR_Y'Switched to latest components...\n\n'$COLOR_RESET printf $COLOR_Y'Switched to latest components...\n\n'$COLOR_RESET
;; ;;
--force-pull) --force-pull)
export forcepull='true' export forcepull="true"
printf $COLOR_Y'Pulling latest components...\n\n'$COLOR_RESET printf $COLOR_Y'Pulling latest components...\n\n'$COLOR_RESET
;; ;;
################################################# #################################################
@ -153,7 +153,7 @@ while :; do
;; ;;
*) *)
printf $COLOR_Y'Starting Ocean...\n\n'$COLOR_RESET printf $COLOR_Y'Starting Ocean...\n\n'$COLOR_RESET
if [[ forcepull == 'true' ]] if [[ $forcepull == "true" ]]
then then
docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} pull docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} pull
fi fi