Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
chandrareddyp authored Feb 12, 2024
1 parent 2f7d3e1 commit 03f53e3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,12 @@ setup-custom-cert-for-test-central-repo: ## Setup up the custom ca cert for test
@echo "WGET inside setup-custom-cert-for-test-central-repo: $(WGET)"
@echo "BZIP2 inside setup-custom-cert-for-test-central-repo: $(BZIP2)"
@if [ ! -d $(ROOT_DIR)/hack/central-repo/certs ]; then \
$(WGET) https://storage.googleapis.com/tanzu-cli/data/testcerts/local-central-repo-testcontent.bz2 -O $(ROOT_DIR)/hack/central-repo/local-central-repo-testcontent.bz2;\
$(WGET) https://storage.googleapis.com/tanzu-cli/data/testcerts/local-central-repo-testcontent.bz2 -O $(ROOT_DIR)/hack/central-repo/local-central-repo-testcontent.bz2;\
echo "Tar command:"; \
echo "$(TAR) xjf $${TAR_BZ2_FILE} -C $(ROOT_DIR)/hack/central-repo/"; \

TAR_BZ2_FILE:=$(shell cygpath -w $(ROOT_DIR)/hack/central-repo/local-central-repo-testcontent.bz2)
$(TAR) xjf ${TAR_BZ2_FILE} -C $(ROOT_DIR)/hack/central-repo/;\
$(TAR) xjf "$$TAR_BZ2_FILE" -C "$(ROOT_DIR)/hack/central-repo/"; \
fi
echo "Adding docker test central repo cert to the config file"
TANZU_CLI_CEIP_OPT_IN_PROMPT_ANSWER="No" TANZU_CLI_EULA_PROMPT_ANSWER="Yes" $(ROOT_DIR)/bin/tanzu config cert delete localhost:9876 || true
Expand Down

0 comments on commit 03f53e3

Please sign in to comment.