# HG changeset patch # User Jeff Hammel # Date 1397622452 25200 # Node ID b6d0ce3cf430980e84bd569817303ae13c37d66c # Parent 3a4b11d4fdf07b79da68c8e475994e424709e8d5 dereference + repurposes (round1) diff -r 3a4b11d4fdf0 -r b6d0ce3cf430 INSTALL.sh --- a/INSTALL.sh Mon Feb 25 16:46:32 2013 -0800 +++ b/INSTALL.sh Tue Apr 15 21:27:32 2014 -0700 @@ -1,10 +1,10 @@ #!/usr/bin/bash -# installation script for autobot, the A*Team buildbot +# installation script for autobot # install using -# curl http://k0s.org/mozilla/hg/autobot/raw-file/tip/INSTALL.sh | bash +# curl http://k0s.org/hg/autobot/raw-file/tip/INSTALL.sh | bash -REPO='http://k0s.org/mozilla/hg/autobot' # location of mercurial repository +REPO='http://k0s.org/hg/autobot' # location of mercurial repository # destination DEST='autobot' # name of the virtualenv relative to CWD @@ -30,4 +30,4 @@ cd autobot python setup.py develop -# now you can run `create-autobot` to get a testing bot! \ No newline at end of file +# now you can run `create-autobot` to get a testing bot! diff -r 3a4b11d4fdf0 -r b6d0ce3cf430 README.txt --- a/README.txt Mon Feb 25 16:46:32 2013 -0800 +++ b/README.txt Tue Apr 15 21:27:32 2014 -0700 @@ -1,14 +1,14 @@ autobot ======= -buildbot for the A*Team +buildbot automation What is autobot? ---------------- -autobot is a continuous integration solution for the Automation and -Tools Team. We have a lot of software. We're really talented, so +autobot is a continuous integration solution built as a front-end to +buildbot. We have a lot of software. We're talented, so usually it doesn't break. But we're not infalliable. Our robot ally, autobot, is there to test things for us. Let's meet autobot! @@ -18,7 +18,7 @@ autobot may be installed using the install script:: - curl http://k0s.org/mozilla/hg/autobot/raw-file/tip/INSTALL.sh | bash + curl http://k0s.org/hg/autobot/raw-file/tip/INSTALL.sh | bash This will create a virtualenv and install autobot for development ($VIRTUAL_ENV/src/autobot). You can also use the script as @@ -163,25 +163,6 @@ deprecated entirely by MozInfo but such is the interim solution. -Projects --------- - -What does autobot test? - -* mozbase [WORKING] -* logparser [WORKING] -* profilemanager [IN FLIGHT] -* mozmill [IN FLIGHT] -* talos [IN FLIGHT] -* firebug [TODO] -* jetpack [TODO] - -The projects are obtained from any factories in subdirectories of -``autobot.projects`` (use -``python -c 'from autobot import projects; print projects.__file__'`` -to see this location). - - Sources ------- @@ -197,14 +178,7 @@ to equate to ``master`` for git or ``default`` for hg. However, you may also use a string in the form of ``URL#branch``. In addition, you may specify a whitespace separated source, which ``SourceFactory`` -will split into a list of sources. So all of these translate into the -same source:: - - sources = {'hg': 'http://hg.mozilla.org/automation/logparser'} - - sources = {'hg': ['http://hg.mozilla.org/automation/logparser#default']} - - sources = {'hg': [('http://hg.mozilla.org/automation/logparser', None)] +will split into a list of sources. The generated ``master.cfg`` polls for changes on the given source, then uses ``buildbot.schedulers.filter:Changefilter`` in conjunction @@ -261,20 +235,6 @@ ``%(virtualenv)s/src``, it will also install them (using ``%(python)s setup.py install``) -* ``FirefoxDownloaderFactory``: downloads and unpacks a Firefox - bundle, using - `GetLatestTinderbox `_ . - It also provides three properties: ``%(firefox_url)s``, - ``%(firefox_bundle)s``, and ``%(firefox)s`` -- the last, and most - interesting, being the absolute path to the Firefox executable. You - (currently) *must* pass a ``platform`` argument with - ``platform['os']`` set to "linux", "win", or "mac" in order for - ``FirefoxDownloaderFactory`` to figure out what to do with the thing - that it downloads (though see TODO, in the future it should/could - use MozInfo or guess the OS from the bundle extension...maybe). - Currently, mac is *NOT* supported, though its on my list of things - to do (I'd love advice/help!). - See the ``autobot.process.factory`` file for more details. These classes are intended as mix-ins (not my favorite pattern, but it seems to basically be what buildbot wants you to do). More work needs to be @@ -289,7 +249,7 @@ Let me know! I'd like to make autobot a solution that works for all stake-holders, and if you're reading this, that means you! -jhammel@mozilla.com +k0scist@gmail.com TODO @@ -298,19 +258,8 @@ No software of any size is ever finished. Here are a few things I would like to add: -* post to autolog: - http://hg.mozilla.org/users/jgriffin_mozilla.com/mozautolog/ - Example code can be found at - http://hg.mozilla.org/services/services-central/file/9f29daaecbcc/testing/tps/tps/testrunner.py#l491 - add a 'server' keyword to the AutologTestGroup constructor, set to - 10.2.76.100:9200, that will cause the data to be written to - brasstacks test server. you can omit the restserver keyword, it will - use the correct default if you skip it - * email notifications -* get FirefoxDownloaderFactory working on Mac with .dmg files! - * singular checkout of repos on slaves: the slaves should have a singular master repo that is checked out once for each repo URL, branch pair. It is then updated as the slaves need and (e.g.) diff -r 3a4b11d4fdf0 -r b6d0ce3cf430 setup.py --- a/setup.py Mon Feb 25 16:46:32 2013 -0800 +++ b/setup.py Tue Apr 15 21:27:32 2014 -0700 @@ -5,14 +5,14 @@ setup(name='autobot', version=version, - description="buildbot incarnation for Mozilla AutoTools team", + description="buildbot incarnation for team", long_description="""\ """, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='buildbot automation', author='Jeff Hammel', - author_email='jhammel@mozilla.com', - url='https://wiki.mozilla.org/Auto-tools', + author_email='k0scist@gmail.com', + url='http://k0s.org/hg/autobot', license='MPL', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, @@ -26,8 +26,6 @@ 'buildbot-slave>=0.8.5', 'virtualenv', 'MakeItSo', - 'GetLatestTinderbox', - 'mozinfo' ], entry_points=""" # -*- Entry points: -*-