Add a chart directory
This commit is contained in:
parent
6e08510b3d
commit
5b6a503fd1
@ -35,6 +35,9 @@ func (g *Git) CloneRepo(workdir, gitURL string, dry bool) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
if err := os.Mkdir(workdir+"/charts", os.ModePerm); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
r, err := git.PlainInit(workdir, false)
|
r, err := git.PlainInit(workdir, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -27,7 +27,10 @@ func CreateWorkdir(ctx context.Context, path string) (workdir string, err error)
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return workdir, err
|
return workdir, err
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := os.Mkdir(workdir+"/.charts", os.ModePerm); err != nil {
|
||||||
|
return "", err
|
||||||
}
|
}
|
||||||
return workdir, nil
|
return workdir, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user