Skip to content

Commit

Permalink
Update Makefile - undo -> commented out update-env as per P.W.
Browse files Browse the repository at this point in the history
  • Loading branch information
rarmitag authored Jan 10, 2025
1 parent a531ea6 commit 8db59af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ 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
Expand All @@ -113,7 +113,7 @@ push: #build ## Push the docker container to the registry & tag latest
docker push $(REGISTRY_IMAGE):latest

VAULTS=`cat devops/vaults.json`
## update-env: ## Update env from 1pass
update-env: ## Update env from 1pass
oc -n "$(OPS_REPOSITORY)-$(TAG_NAME)" exec "dc/vault-service-$(TAG_NAME)" -- ./scripts/1pass.sh \
-m "secret" \
-e "$(TAG_NAME)" \
Expand Down

0 comments on commit 8db59af

Please sign in to comment.