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

cr index fails when index.yaml allready exists

Open artyom-p opened this issue 4 years ago • 1 comments
trafficstars

Hi, im unable to generate index.yaml when index file allready exist, for example when i want to index a new version of a chart. Checked all the permissions on folders, everything looks ok, but this issue still appears.

OS: Windows 10 Pro 10.0.19042 Build 19042 CR: 1.2.0

config.yml:

owner: {owner} git-repo: {repo-name} charts-repo: https://{owner}.github.io/{repo-name}/ package-path: C:\k8s.deploy token: {token} git-base-url: https://api.github.com/ git-upload-url: https://uploads.github.com/ index-path: .\index.yaml

git checkout gh-pages cr index --config C:\k8s\config.yml Using config file: C:\k8s\config.yml Using existing index at ./index.yaml Found test-chart-0.0.2.tgz Extracting chart metadata from C:\k8s\.deploy\test-chart-0.0.2.tgz Calculating Hash for C:\k8s\.deploy\test-chart-0.0.2.tgz Updating index ./index.yaml Error: link error: cannot rename index.yaml111555139 to ./index.yaml: rename index.yaml111555139 ./index.yaml: Access is denied.

image

artyom-p avatar Mar 14 '21 09:03 artyom-p

look at file ownership, this looks more like a permissions issue

sOblivionsCall avatar May 18 '21 18:05 sOblivionsCall