chart-releaser icon indicating copy to clipboard operation
chart-releaser copied to clipboard

Feature: Add ability to append to index file

Open pawalt opened this issue 6 years ago • 4 comments

Right now, all your packages must be in your --package-path directory when you build your index. I'd like to add the ability to build your index with only new packages in --package-path. This way, you don't have to keep around the --package-path directory and can use releases as the sole source of truth.

I can write in this functionality, I just want to make sure this is a welcome addition first.

pawalt avatar Jan 26 '20 16:01 pawalt

This is already the case. You don't have to have the packages around. The existing index file is downloaded from the repo and the new stuff is merged in.

unguiculus avatar Jan 31 '20 20:01 unguiculus

Hello,

I encountered the same issue, and if I do not specify the --package-path I get an error:

$ cr index -i index.yaml  -o ppanero -c https://github.com/ppanero/helm-chart-test -r helm-chart-test -t <TOKEN>
====> UpdateIndexFile new index at index.yaml
Error: open .cr-release-packages: no such file or directory

What would be the correct way of doing it? Thanks!

ppanero avatar Mar 12 '20 16:03 ppanero

Has this been solved? I have the same problem as described in the issue.

Thanks 👍

marcgascon avatar Jan 11 '21 14:01 marcgascon

@marcgascon looks like not solved yet

pratikbin avatar Jun 02 '21 11:06 pratikbin