From 742446e0b8076615c9e27a21e912054020cd935c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 19 Jun 2025 19:12:00 +0200 Subject: [PATCH] build: merge helm indexes instead of recreating for every release A new helm repo index was created from scratch for every new release which meant that the release timestamps in the index were basically all identical. This change intends to fix that by merging the new index with the existing one Fixes: #15604 Signed-off-by: Michael Adam (cherry picked from commit 2704f23ea75f86ebdf4374dde1e240bef6a112fe) --- build/release/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/release/Makefile b/build/release/Makefile index 99928ef02..7dd07501b 100644 --- a/build/release/Makefile +++ b/build/release/Makefile @@ -121,7 +121,7 @@ promote.helm: $(HELM) # copy existing charts to a temp dir, then combine with new charts, reindex, and upload $(S3_SYNC) s3://$(HELM_S3_BUCKET)/$(HELM_CHANNEL) $(HELM_TEMP) $(S3_SYNC) s3://$(S3_BUCKET)/build/$(BRANCH_NAME)/$(VERSION)/charts $(HELM_TEMP) - $(HELM) repo index --url $(HELM_URL) $(HELM_TEMP) + $(HELM) repo index --url $(HELM_URL) --merge $(HELM_TEMP)/index.yaml $(HELM_TEMP) $(S3_SYNC_DEL) $(HELM_TEMP) s3://$(HELM_S3_BUCKET)/$(HELM_CHANNEL) rm -fr $(HELM_TEMP)