Mercurial > hg > autobot
annotate README.txt @ 186:c7172ca54dff
more docs
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Tue, 01 Feb 2011 19:19:36 -0800 |
| parents | a5709ef5e275 |
| children | bba97450cbc2 |
| rev | line source |
|---|---|
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
1 autobot |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
2 ======= |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
3 |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
4 buildbot for the A*Team |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
5 |
| 184 | 6 |
| 7 What is autobot? | |
| 8 ---------------- | |
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
9 |
| 184 | 10 autobot is a continuous integration solution for the Automation and |
| 11 Tools Team. We have a lot of software. We're really talented, so | |
| 12 usually it doesn't break. But we're not infalliable. Our robot ally, | |
| 13 autobot, is there to test things for us. Let's me autobot! | |
| 14 | |
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
15 |
| 184 | 16 Installing autobot |
| 17 ------------------ | |
| 18 | |
| 19 autobot may be installed using the Install script:: | |
| 20 | |
| 21 curl http://k0s.org/mozilla/hg/autobot/raw-file/tip/INSTALL.sh | bash | |
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
22 |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
23 This will create a virtualenv and install autobot for development |
| 184 | 24 ($VIRTUAL_ENV/src/autobot). |
| 25 | |
| 26 | |
| 27 Setting up a buildmaster and slave | |
| 28 ---------------------------------- | |
| 29 | |
| 30 Once you have autobot installed and the virtualenv activated, you'll | |
| 31 want to create a buildmaster and a buildslave. | |
| 32 | |
| 33 You can create a master-slave pair by running ``create-autobot`` after | |
| 34 activating the virtualenv. This is mostly useful for autobot | |
| 35 development. The scripts ``create-autobot-master`` and | |
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
36 ``create-autobot-slave`` are also available. The scripts will prompt you |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
37 for a factory. The factories are from ``autobot.projects`` and its |
| 186 | 38 subdirectories. You can list the available factories with |
| 39 ``create-autobot --list-factories`` (or ``create-autobot-master | |
| 40 --list-factories``). | |
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
41 |
| 186 | 42 Running ``create-autobot --help`` will give the variables you can set |
| 43 when it makes a new bot for you (``create-autobot-master`` and | |
| 44 ``create-autobot-slave`` also have a ``--help``, the variables in | |
| 45 ``create-autobot`` being a superset of these). | |
| 184 | 46 |
| 186 | 47 If you don't specify a variable, the default will be used to create |
| 48 your particular bot. You can (probably) change it later. | |
| 49 | |
| 50 | |
| 184 | 51 Using autobot |
| 52 ------------- | |
| 53 | |
| 54 It is important to remember that continuous integration is a safety | |
| 55 net, not a first line of defense. | |
| 56 | |
| 57 | |
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
58 Projects |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
59 -------- |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
60 |
| 184 | 61 What does autobot test? |
| 62 | |
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
63 * logparser [WORKING] |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
64 * profilemanager [IN FLIGHT] |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
65 * mozmill [IN FLIGHT] |
| 70 | 66 * devicemanager [IN FLIGHT] |
|
59
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
67 * firebug [TODO] |
|
e66165f2f31b
complete automagic imports
Jeff Hammel <jhammel@mozilla.com>
parents:
30
diff
changeset
|
68 * jetpack [TODO] |
| 70 | 69 |
| 186 | 70 The projects are obtained from any factories in subdirectories of |
| 71 ``autobot.projects`` (use | |
| 72 ``python -c 'from autobot import projects; print projects.__file__'`` | |
| 73 to see this location). | |
| 74 | |
| 184 | 75 |
| 76 Adding a New Project | |
| 77 -------------------- | |
| 78 | |
| 79 Occassionally, you'll need to add a new project to test. | |
| 186 | 80 |
| 81 | |
| 82 Is your autobot being feisty? | |
| 83 ----------------------------- | |
| 84 | |
| 85 Let me know! I'd like to make autobot a solution that works for all | |
| 86 stake-holders, and if you're reading this, that means you! | |
| 87 | |
| 88 | |
| 89 TODO | |
| 90 ---- | |
| 91 | |
| 92 No software of any size is ever finished | |
| 93 | |
| 94 * singular checkout of repos on slaves | |
| 95 * passing slave environment to master -> MozInfo |
