mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-21 10:54:09 +02:00
feat: helmfile -f <go-getter url> (#670)
Extends the remote-helmfile feature to also work when loading the first state file. This should be useful for people who wants to give helmfile a try without ever opening `$EDITOR`.
This commit is contained in:
@@ -179,6 +179,10 @@ func (r *Remote) Fetch(goGetterSrc string) (string, error) {
|
||||
|
||||
cacheDirPath := filepath.Join(r.Home, getterDst)
|
||||
|
||||
r.Logger.Debugf("home: %s", r.Home)
|
||||
r.Logger.Debugf("getter dest: %s", getterDst)
|
||||
r.Logger.Debugf("cached dir: %s", cacheDirPath)
|
||||
|
||||
{
|
||||
if r.FileExists(cacheDirPath) {
|
||||
return "", fmt.Errorf("%s is not directory. please remove it so that variant could use it for dependency caching", getterDst)
|
||||
|
||||
Reference in New Issue
Block a user