Skip to content

Commit 1ba9ab3

Browse files
committed
import helm.mk and add helpful targets
update gitignore for new helm chart
1 parent ac7d1eb commit 1ba9ab3

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
*.dll
55
*.so
66
*.dylib
7-
marketplace-mcp-server
8-
marketplace-mcp-server-*
97
bin/*
108

119
# Test binary, built with `go test -c`

Makefile

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,22 @@ GO_LINT_DIFF_TARGET ?= HEAD~
4444
GO_LINT_ARGS ?= --fix
4545
-include build/makelib/golang.mk
4646

47+
# ====================================================================================
48+
# Setup Helm
49+
USE_HELM3 = true
50+
HELM_BASE_URL = https://charts.upbound.io
51+
HELM_S3_BUCKET = upbound.charts
52+
HELM_CHARTS = marketplace-mcp-server
53+
HELM_VALUES_TEMPLATE_SKIPPED = true
54+
55+
-include build/makelib/k8s_tools.mk
56+
-include build/makelib/helm.mk
57+
58+
# ====================================================================================
59+
# CI
60+
helm.version:
61+
@echo $(HELM_CHART_VERSION)
62+
4763
# Default target
4864
all: clean deps test build
4965

@@ -103,7 +119,11 @@ publish-docker-stdio: docker-build-stdio
103119
@docker tag $(DOCKER_IMAGE):latest $(REGISTRY_ORG)/$(DOCKER_IMAGE):$(VERSION)
104120
@docker push $(REGISTRY_ORG)/$(DOCKER_IMAGE):$(VERSION)
105121

106-
publish: publish-docker-stdio
122+
publish-docker-http: docker-build-http
123+
@docker tag $(DOCKER_IMAGE)-http:latest $(REGISTRY_ORG)/$(DOCKER_IMAGE)-http:$(VERSION)
124+
@docker push $(REGISTRY_ORG)/$(DOCKER_IMAGE)-http:$(VERSION)
125+
126+
publish: publish-docker-stdio publish-docker-http
107127

108128
# Run Docker containers
109129
docker-run-stdio:

0 commit comments

Comments
 (0)