Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add extra fabfile bits.

  • Loading branch information...
commit dc2fa4bf564cf03a5497e49ada73ac3122456a6f 1 parent c394ab1
@ericholscher ericholscher authored
View
10 deploy/fab/README.rst
@@ -0,0 +1,10 @@
+How to use
+==========
+
+Build
+-----
+
+::
+
+fab -H bigbuild.readthedocs.com build
+
View
24 deploy/fab/files/build_supervisord.conf
@@ -0,0 +1,24 @@
+[unix_http_server]
+file=/home/builder/run/supervisord-builder.sock
+chmod=0700
+
+[supervisord]
+logfile=/home/builder/log/supervisord.log ; (main log file;default $CWD/supervisord.log)
+logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
+logfile_backups=10 ; (num of main logfile rotation backups;default 10)
+loglevel=info ; (log level;default info; others: debug,warn,trace)
+pidfile=/home/builder/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
+
+; the below section must remain in the config file for RPC
+; (supervisorctl/web interface) to work, additional interfaces may be
+; added by defining them in separate rpcinterface: sections
+[rpcinterface:supervisor]
+supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
+
+[supervisorctl]
+serverurl = unix:///home/builder/run/supervisord-builder.sock
+
+[program:celery]
+command=django-admin.py celeryd -l DEBUG -v 2 -f /home/builder/log/celery_proc.log -Q builder
+stdout_logfile=/home/builder/log/celery.log
+stderr_logfile=/home/builder/log/celery.err
View
2  deploy/fab/requirements.txt
@@ -0,0 +1,2 @@
+fabric==1.5
+fabtools==0.8.1
Please sign in to comment.
Something went wrong with that request. Please try again.