-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
If I set the origin as the following, I will be asked GitLab credentials during deployment.
origin https://gitlab.com/project/repo.git (fetch)
origin https://gitlab.com/project/repo.git (push)
The solution is replacing https:// to git@.
Error log:
Traceback (most recent call last):
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/fabric/main.py", line 757, in main
*args, **kwargs
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/fabric/tasks.py", line 386, in execute
multiprocessing
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/fabric/tasks.py", line 276, in _execute
return task.run(*args, **kwargs)
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/fabric/tasks.py", line 173, in run
return self.wrapped(*args, **kwargs)
File "/media/burak/back1/ymo/ymo/fabfile.py", line 275, in deploy
revset = show_log(id)
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/fabric/tasks.py", line 170, in __call__
return self.run(*args, **kwargs)
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/fabric/tasks.py", line 173, in run
return self.wrapped(*args, **kwargs)
File "/media/burak/back1/ymo/ymo/fabfile.py", line 169, in show_log
result = vcs.deployment_list(commit_id)
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/hammer/vcs/git.py", line 403, in deployment_list
revision, base_branch = self._get_revision_and_base_branch(revision)
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/hammer/vcs/git.py", line 311, in _get_revision_and_base_branch
if not self.has_revision(revision):
File "/home/burak/.pyenv/versions/2.7.17/lib/python2.7/site-packages/hammer/vcs/git.py", line 266, in has_revision
if not int(has_branch):
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels