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
{{ message }}
This repository was archived by the owner on Mar 6, 2023. It is now read-only.
I just tried around with your fabdeploit and got this error:
fab -u git -H localhost deploy
[localhost] Executing task 'deploy'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 757, in main
*args, **kwargs
File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 386, in execute
multiprocessing
File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 276, in _execute
return task.run(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 173, in run
return self.wrapped(*args, **kwargs)
File "/home/speedy/git/django_deploy/fabfile.py", line 43, in deploy
commit = git.release()
File "/usr/local/lib/python2.7/dist-packages/fabdeploit/git.py", line 292, in release
self.create_release_commit(message=message)
File "/usr/local/lib/python2.7/dist-packages/fabdeploit/git.py", line 226, in create_release_commit
commit = repo.heads[self.release_branch].commit
File "/usr/local/lib/python2.7/dist-packages/git/util.py", line 893, in __getitem__
raise IndexError("No item found with id %r" % (self._prefix + index))
IndexError: No item found with id 'master'
Steps to reproduce:
use the django example from docs
setup a simple django app
git init
git checkout -b master
fab -u <user> -H <host> deploy
Solution:
The master/production branch must be commited (inital commit is enough) before running fab. This is not really an error in my eyes, but some documentation would be nice
I just tried around with your fabdeploit and got this error:
Steps to reproduce:
git initgit checkout -b masterfab -u <user> -H <host> deploySolution:
The master/production branch must be commited (inital commit is enough) before running fab. This is not really an error in my eyes, but some documentation would be nice