Merge pull request #16121 from rook/mergify/bp/release-1.16/pr-16033
build: merge helm indexes instead of recreating for every release (backport #16033)
This commit is contained in:
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user