-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
I want to deploy a git puppi project (puppi::project::git) with option keep_gitdata == false because I don't want .git directory in the final deploy root.
The problem I'm having is that a clone of the git directory is done in /var/lib/puppi/archive/<project>-git/gitrepo, but it is no copied in the deploy_root directory.
I think the problem is a bug in git.sh script, in lines:
if [ "x$gitdir" == "x$archivedir/$project-git" ] ; then
rsync -a --exclude=".git" $gitdir/$gitsubdir $deploy_root/
else
and I think that check has to be:
if [ "x$gitdir" == "x$archivedir/$project-git/gitrepo" ] ; then
Am I right?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels