Skip to content

Instantly share code, notes, and snippets.

@alq666
Created August 10, 2012 21:36
Show Gist options
  • Save alq666/3318245 to your computer and use it in GitHub Desktop.
Save alq666/3318245 to your computer and use it in GitHub Desktop.
Testing the fabric integration
easy_install fabric
python -c "import fabric; print fabric"
# <module 'fabric' from '.../python2.7/site-packages/Fabric-1.4.3-py2.7.egg/fabric/__init__.pyc'>
cd dogapi
fab -f examples/fabfile.py sweet_task:"yay!"
# My sweet task always runs properly.
#
# Done.
fab -f examples/fabfile.py boring_task:"oh noes"
fab -f examples/fabfile.py boring_task:"oh noes"
# My boring task is designed to fail.
# Traceback (most recent call last):
# ...
# File "build/bdist.macosx-10.8-intel/egg/dogapi/fab.py", line 72, in wrapper
# Exception: failure!!!
@alq666
Copy link
Author

alq666 commented Aug 13, 2012

Fixed in 1.0.11 (being tested right now).

@alq666
Copy link
Author

alq666 commented Aug 13, 2012

Commit details: DataDog/dogapi@484850b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment