Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
rarmitag authored Oct 17, 2024
1 parent 2cef511 commit 957c006
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;\
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 957c006

Please sign in to comment.