fix: release chart to bucket
-CHART_REPO := http://jenkins-x-chartmuseum:8080
+CHART_REPO := gs://jenkinsxio/charts
CURRENT=$(pwd)
GO_MOD := GO111MODULE=on go
NAME := lighthouse
@@ -37,7 +37,8 @@ release: clean
helm dependency build
helm lint
helm package .
- @curl --fail -u $(CHARTMUSEUM_USER):$(CHARTMUSEUM_PASS) --data-binary "@$(NAME)-$(shell sed -n 's/^version: //p' Chart.yaml).tgz" $(CHART_REPO)/api/charts
+ helm repo add jx3 $(CHART_REPO)
+ helm gcs push ${NAME}*.tgz jx3 --public
rm -rf ${NAME}*.tgz%
update-version:
@@ -58,5 +59,3 @@ tag: update-version
git tag -fa v$(VERSION) -m "Release version $(VERSION)"
git push origin v$(VERSION)
-delete-from-chartmuseum:
- @curl --fail -u $(CHARTMUSEUM_USER):$(CHARTMUSEUM_PASS) -X DELETE $(CHART_REPO)/api/charts/$(NAME)/$(VERSION)
