Skip to content

Commit 80563e2

Browse files
authored
Merge pull request rook#16033 from obnoxxx/build-helm-index-merge
build: merge helm indexes instead of recreating for every release
2 parents c3ee142 + 2704f23 commit 80563e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/release/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ promote.helm: $(HELM)
121121
# copy existing charts to a temp dir, then combine with new charts, reindex, and upload
122122
$(S3_SYNC) s3://$(HELM_S3_BUCKET)/$(HELM_CHANNEL) $(HELM_TEMP)
123123
$(S3_SYNC) s3://$(S3_BUCKET)/build/$(BRANCH_NAME)/$(VERSION)/charts $(HELM_TEMP)
124-
$(HELM) repo index --url $(HELM_URL) $(HELM_TEMP)
124+
$(HELM) repo index --url $(HELM_URL) --merge $(HELM_TEMP)/index.yaml $(HELM_TEMP)
125125
$(S3_SYNC_DEL) $(HELM_TEMP) s3://$(HELM_S3_BUCKET)/$(HELM_CHANNEL)
126126
rm -fr $(HELM_TEMP)
127127

0 commit comments

Comments
 (0)