From 957c006d421c5466cd9f72d7e7d68c84c9750445 Mon Sep 17 00:00:00 2001 From: rarmitag <35737789+rarmitag@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:46:18 -0700 Subject: [PATCH] Update Makefile --- api/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/Makefile b/api/Makefile index 77cd20957..e7c1a6fa8 100644 --- a/api/Makefile +++ b/api/Makefile @@ -45,8 +45,8 @@ clean-test: ## clean test files rm -f .coverage rm -fr htmlcov/ -update: ## Upgrade lock - poetry update +: ## Upgrade lock + poetry install: clean ## Install python virtrual environment test -f .venv/bin/activate || python3.12 -m venv $(CURRENT_ABS_DIR)/.venv ;\ @@ -86,15 +86,15 @@ mac-cov: local-test ## Run the coverage report and display in a browser window ( ################################################################################# cd: ## CD flow ifeq ($(TAG_NAME), test) -cd: update-env +# cd: update-env oc -n "$(OPENSHIFT_REPOSITORY)-tools" tag $(DOCKER_NAME):dev $(DOCKER_NAME):$(TAG_NAME) else ifeq ($(TAG_NAME), prod) -cd: update-env +# cd: update-env oc -n "$(OPENSHIFT_REPOSITORY)-tools" tag $(DOCKER_NAME):$(TAG_NAME) $(DOCKER_NAME):$(TAG_NAME)-$(shell date +%F) oc -n "$(OPENSHIFT_REPOSITORY)-tools" tag $(DOCKER_NAME):test $(DOCKER_NAME):$(TAG_NAME) else TAG_NAME=dev -cd: build update-env tag +# cd: build update-env tag endif build: ## Build the docker container