From d96dba03824600411282ff1cce5efed7c8820100 Mon Sep 17 00:00:00 2001 From: Alexander Gil Date: Wed, 24 Jan 2024 16:09:25 +0100 Subject: [PATCH] fix(ci): Run front when executing manually --- Makefile | 1 + {radarr => integrations/radarr}/add/main.go | 0 {radarr => integrations/radarr}/update/main.go | 0 scripts/run-all.sh | 4 ++++ 4 files changed, 5 insertions(+) rename {radarr => integrations/radarr}/add/main.go (100%) rename {radarr => integrations/radarr}/update/main.go (100%) diff --git a/Makefile b/Makefile index 47813fb..b8dd341 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/radarr/add/main.go b/integrations/radarr/add/main.go similarity index 100% rename from radarr/add/main.go rename to integrations/radarr/add/main.go diff --git a/radarr/update/main.go b/integrations/radarr/update/main.go similarity index 100% rename from radarr/update/main.go rename to integrations/radarr/update/main.go diff --git a/scripts/run-all.sh b/scripts/run-all.sh index 56918d1..a25c013 100755 --- a/scripts/run-all.sh +++ b/scripts/run-all.sh @@ -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