From 70821e361bf8ef821b5c49a5f9d321c3c8e3d4ef Mon Sep 17 00:00:00 2001 From: Oleksandr Mazur Date: Wed, 11 Dec 2024 16:12:24 +0200 Subject: [PATCH] Build: use multi-cgw deployment target as a default one Replace script-based approach for CGW/services creation, in favor of multi-cgw templated generated compose file. Also, add a new run-tests target, that executes / starts test run, for the sake of convinience. Signed-off-by: Oleksandr Mazur --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cbfd4f8..2b86333 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,9 @@ CGW_BUILD_ENV_IMG_TAG := $(shell cat Dockerfile | sha1sum | awk '{print substr($ CGW_BUILD_ENV_IMG_CONTAINER_NAME := "cgw_build_env" -.PHONY: all cgw-app cgw-build-env-img cgw-img stop clean run run_docker_services start-multi-cgw stop-multi-cgw +.PHONY: all cgw-app cgw-build-env-img cgw-img stop clean run run_docker_services start-multi-cgw stop-multi-cgw run-tests -all: cgw-build-env-img run_docker_services run +all: start-multi-cgw @echo "uCentral CGW build app (container) done" # Executed inside build-env @@ -77,3 +77,6 @@ stop-multi-cgw: run_docker_services: @cd ./utils/docker/ && docker compose up -d + +run-tests: + @cd ./tests && ./run.sh