You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I want to deploy a git puppi project (
puppi::project::git
) with optionkeep_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 thedeploy_root
directory.I think the problem is a bug in
git.sh
script, in lines:and I think that check has to be:
Am I right?
The text was updated successfully, but these errors were encountered: