Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

draft pack-repo update fails with local pack repositories #941

Open
jpetazzo opened this issue Jul 12, 2019 · 0 comments
Open

draft pack-repo update fails with local pack repositories #941

jpetazzo opened this issue Jul 12, 2019 · 0 comments
Labels

Comments

@jpetazzo
Copy link

How to reproduce:

cd /tmp
mkdir -p local-pack-repo/packs/my-local-pack
helm create local-pack-repo/packs/my-local-pack/charts
draft pack-repo add local-pack-repo/
draft pack-repo update

We get the error message:

Error: cannot get information about pack repo source
Error: exit status 1

Cleaning up:

draft pack-repo remove local-pack-repo
rm -rf /tmp/local-pack-repo

Additional notes: I thought that the pack repo had to be a git repo, so I tried various hacks to make it a git repo with a local remote; but nothing worked (it looks like Draft tries to make up a git repo URL from its path, fails, and reports the error anyway).

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

No branches or pull requests

2 participants