Skip to content

Commit

Permalink
fix(ci): Run front when executing manually
Browse files Browse the repository at this point in the history
  • Loading branch information
pando85 committed Jan 24, 2024
1 parent 401241c commit d96dba0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ image-% push-image-%: build-%

.PHONY: run-all
run-all: images
run-all: export NOT_RUN_FRONT=true
run-all: ## run all services in local using docker-compose
run-all:
@scripts/run-all.sh
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions scripts/run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do
((ATTEMPT++))
done

if [ -n "$NOT_RUN_FRONT" ]; then
exit 0
fi

cd $WORKDIR/../server/web/ui && npm start

0 comments on commit d96dba0

Please sign in to comment.