mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 15:26:13 +01:00
gitlab fix
This commit is contained in:
@@ -578,6 +578,7 @@ class ApplicationInstaller(multi.Thread):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
command = 'sudo GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone --depth 1 --no-single-branch git@' + defaultProvider +'.com:' + username + '/' + reponame + '.git -b ' + branch + ' ' + finalPath
|
command = 'sudo GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone --depth 1 --no-single-branch git@' + defaultProvider +'.com:' + username + '/' + reponame + '.git -b ' + branch + ' ' + finalPath
|
||||||
|
logging.writeToFile(command)
|
||||||
subprocess.check_output(shlex.split(command))
|
subprocess.check_output(shlex.split(command))
|
||||||
except subprocess.CalledProcessError, msg:
|
except subprocess.CalledProcessError, msg:
|
||||||
statusFile = open(tempStatusPath, 'w')
|
statusFile = open(tempStatusPath, 'w')
|
||||||
|
|||||||
@@ -1766,6 +1766,8 @@ class WebsiteManager:
|
|||||||
|
|
||||||
configContent = """Host github.com
|
configContent = """Host github.com
|
||||||
IdentityFile /root/.ssh/git
|
IdentityFile /root/.ssh/git
|
||||||
|
Host gitlab.com
|
||||||
|
IdentityFile /root/.ssh/git
|
||||||
"""
|
"""
|
||||||
|
|
||||||
path = "/home/cyberpanel/config"
|
path = "/home/cyberpanel/config"
|
||||||
|
|||||||
Reference in New Issue
Block a user