Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index always added at the root level #105

Closed
cscetbon opened this issue Mar 13, 2022 · 1 comment
Closed

Index always added at the root level #105

cscetbon opened this issue Mar 13, 2022 · 1 comment

Comments

@cscetbon
Copy link

cscetbon commented Mar 13, 2022

I use index-path to decide to put index.yaml in another folder however it still gets committed to the root level when it's done. It should commit it at the location I specify

Looking up latest tag...
Discovering changed charts since 'v2.1.0-release'...
Installing chart-releaser...
Adding cr directory to PATH...
Packaging chart 'charts/cassandra-operator'...
Using config file:  cr.yaml
Successfully packaged chart in /home/runner/work/casskop/casskop/charts/cassandra-operator and saved it to: .cr-release-packages/cassandra-operator-2.1.0.tgz
Packaging chart 'charts/multi-casskop'...
Using config file:  cr.yaml
Successfully packaged chart in /home/runner/work/casskop/casskop/charts/multi-casskop and saved it to: .cr-release-packages/multi-casskop-2.1.0.tgz
Releasing charts...
Using config file:  cr.yaml
Updating charts repo index...
Using config file:  cr.yaml
UpdateIndexFile new index at website/helm/index.yaml
Found cassandra-operator-2.1.0.tgz
Extracting chart metadata from .cr-release-packages/cassandra-operator-2.1.0.tgz
Calculating Hash for .cr-release-packages/cassandra-operator-2.1.0.tgz
Found multi-casskop-2.1.0.tgz
Extracting chart metadata from .cr-release-packages/multi-casskop-2.1.0.tgz
Calculating Hash for .cr-release-packages/multi-casskop-2.1.0.tgz
Updating index website/helm/index.yaml
Preparing worktree (detached HEAD 61f5a1d)
HEAD is now at 61f5a1d Keep empty folder
[detached HEAD 282c0e6] Update index.yaml
 1 file changed, 50 insertions(+)
 create mode 100644 index.yaml
Pushing to branch "gh-pages"
To https://github.com/cscetbon/casskop
   61f5a1d..282c0e6  HEAD -> gh-pages

My index.yaml should be put in website/helm in gh-pages branch

@cscetbon cscetbon changed the title Use of index-path in cr.yaml fails Index always added at the root level Mar 13, 2022
@cscetbon
Copy link
Author

Closing this one as a duplicate of helm/chart-releaser#150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant