From 7f5d373759408e881da5ca3ab18b63d4e47168cf Mon Sep 17 00:00:00 2001 From: Andrew Otto Date: Tue, 8 May 2012 16:19:07 -0400 Subject: [PATCH] Adding fabfile.py --- fabfile.py | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) create mode 100644 fabfile.py diff --git a/fabfile.py b/fabfile.py new file mode 100644 index 0000000..a131926 --- /dev/null +++ b/fabfile.py @@ -0,0 +1,40 @@ +from fabric.api import * + +env.project_name = 'kraken-ui' + +env.roledefs = { + 'test': ['less.ly'], + 'production': ['reportcard2.pmtpa.wmflabs'], +} + + + +@task +def bundle(): + """Builds and bundles static files in tmp/dist for deployment.""" + pass + +@task +def fix_permissions(): + """Recursively fixes permissions on the deployment host.""" + pass + +@task +def update(): + """Runs git pull on the deployment host.""" + pass + +@task +def distribute(): + """Copies tmp/dist to deployment host.""" + pass + +@task +def restart_server(): + """Restarts node.js server on the deployment host.""" + pass + +@task +def deploy(): + """Full deployment of latest project""" + pass \ No newline at end of file -- 1.7.0.4