annotate INSTALL.sh @ 61:59bbfa7e67bb

make an actual working install script
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 08:26:30 -0800
parents 8e14b6322cc7
children 04e41ee436c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
1 # installation script for autobot, the A*Team buildbot
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
2
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
3 REPO='http://k0s.org/mozilla/hg/autobot'
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
4 DEST='autobot' # name of the virtualenv
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
5
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
6 if [ "$#" != "0" ]
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
7 then
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
8 DEST=$1
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
9 fi
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
10
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
11 virtualenv ${DEST}
0
8e14b6322cc7 initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 cd autobot
8e14b6322cc7 initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 . bin/activate # linux only
8e14b6322cc7 initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 mkdir src
8e14b6322cc7 initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 cd src
61
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
16 hg clone ${REPO}
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
17 cd autobot
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
18 python setup.py develop
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
19
59bbfa7e67bb make an actual working install script
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
20 # now you can run `create-autobot` to get a testing bot!