-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release: Publish main branch images and charts (#10540)
Signed-off-by: timflannagan <[email protected]>
- Loading branch information
1 parent
2e2dd9e
commit 10baa94
Showing
3 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -261,10 +261,11 @@ view-test-coverage: | |
go tool cover -html $(OUTPUT_DIR)/cover.out | ||
|
||
.PHONY: package-kgateway-chart | ||
HELM_PACKAGE_ARGS ?= --version $(VERSION) | ||
package-kgateway-chart: ## Package the new kgateway helm chart for testing | ||
mkdir -p $(TEST_ASSET_DIR) | ||
helm package --version $(VERSION) --destination $(TEST_ASSET_DIR) install/helm/kgateway | ||
helm repo index $(TEST_ASSET_DIR) | ||
mkdir -p $(TEST_ASSET_DIR); \ | ||
helm package $(HELM_PACKAGE_ARGS) --destination $(TEST_ASSET_DIR) install/helm/kgateway; \ | ||
helm repo index $(TEST_ASSET_DIR); | ||
|
||
#---------------------------------------------------------------------------------- | ||
# Clean | ||
|
@@ -583,11 +584,12 @@ publish-docker: docker docker-push | |
|
||
endif # Publish Artifact Targets | ||
|
||
GORELEASER_ARGS ?= --snapshot --clean | ||
GORELEASER ?= go run github.com/goreleaser/goreleaser/[email protected] | ||
GORELEASER_ARGS ?= --snapshot --clean | ||
GORELEASER_CURRENT_TAG ?= $(VERSION) | ||
.PHONY: release | ||
release: ## Create a release using goreleaser | ||
$(GORELEASER) release $(GORELEASER_ARGS) | ||
GORELEASER_CURRENT_TAG=$(GORELEASER_CURRENT_TAG) $(GORELEASER) release $(GORELEASER_ARGS) | ||
|
||
#---------------------------------------------------------------------------------- | ||
# Docker | ||
|