Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
  • Loading branch information
mathetake committed Feb 20, 2025
1 parent 8f5cf4e commit 5383923
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,14 @@ helm-package: helm-lint
@go tool helm package ${HELM_DIR} --app-version ${HELM_CHART_VERSION} --version ${HELM_CHART_VERSION} -d ${OUTPUT_DIR}

.PHONY: helm-test
helm-test: HELM_CHART_PATH = $(OUTPUT_DIR)/ai-gateway-helm-v9.9.9.tgz
helm-test: HELM_CHART_VERSION = v9.9.9
helm-test:
$(MAKE) helm-package HELM_CHART_VERSION=v9.9.9
@go tool helm show chart $(OUTPUT_DIR)/ai-gateway-helm-v9.9.9.tgz | grep -q "version: v9.9.9"
@go tool helm show chart $(OUTPUT_DIR)/ai-gateway-helm-v9.9.9.tgz | grep -q "appVersion: v9.9.9"
@go tool helm template $(OUTPUT_DIR)/ai-gateway-helm-v9.9.9.tgz | grep -q "ghcr.io/envoyproxy/ai-gateway/extproc:v9.9.9"
@go tool helm template $(OUTPUT_DIR)/ai-gateway-helm-v9.9.9.tgz | grep -q "ghcr.io/envoyproxy/ai-gateway/controller:v9.9.9"
@go tool helm show chart ${HELM_CHART_PATH} | grep -q "version: ${HELM_CHART_VERSION}"
@go tool helm show chart ${HELM_CHART_PATH} | grep -q "appVersion: ${HELM_CHART_VERSION}"
@go tool helm template ${HELM_CHART_PATH} | grep -q "ghcr.io/envoyproxy/ai-gateway/extproc:${HELM_CHART_VERSION}"
@go tool helm template ${HELM_CHART_PATH} | grep -q "ghcr.io/envoyproxy/ai-gateway/controller:${HELM_CHART_VERSION}"

# This pushes the helm chart to the OCI registry, requiring the access to the registry endpoint.
.PHONY: helm-push
Expand Down

0 comments on commit 5383923

Please sign in to comment.