tl;dr version: see https://android-build.linaro.org/mockup/index, click around. Don't expect to be able to do much unless you're in ~linaro-android-builders
Hi all,
The frontend to the build service that I've been working on for the last couple of weeks is -- to my understanding <wink> -- now feature complete. You can see it at:
https://android-build.linaro.org/mockup/index
It works better in chrome than firefox currently, although I hope to be through the worst of that soon.
You can log in using your Launchpad ID, but access to the interesting functionality (being able to trigger, edit and set up builds) is restricted to members of the ~linaro-android-builders team (I've made Loic, Alexander and Patryk admins of this team as well as myself).
There is another team, ~linaro-android-official-builders, whose members can make "official" builds.
I've tried pretty hard to make things self explanatory so I don't want to explain too much here. One thing that probably needs explaining is that a "configuration" is a snippet of shell that sets various environment variables that are interpreted by the build scripts, such as MANIFEST_REPO, MANIFEST_BRANCH and the various TARGET_* variables understood by the android build tools.
If there's something missing from this or some aspect that seems really badly designed, *please* tell me! Otherwise I'll assume you all love it. I hear a rumour that Alexander wants simpler browsing of build artefacts. I also know it's not especially pretty and the error handling & reporting is a bit inconsistent.
If you're curious as to how it works, the web interface is a frontend to jenkins, which is serving at https://android-build.linaro.org/jenkins. Each configuration corresponds to a job in jenkins, with the configuration data stored as the default value for a parameter. There's a lot of javascript (using YUI 3) going on, and in particular most pages get the data they display by making ajax requests directly to jenkins' remote access API. The rest of it is a Django web application, which handles generating the html (though this are only very very lightly templated) and handling the 'write' operations that need server side access control.
The code is in lp:~mwhudson/linaro-android/frontend on Launchpad and is pretty messy, although still fairly small (around 1500 lines of code). I plan to spend some time over the next week making the code much more maintainable, but I don't have any other plans for this code myself. Now get criticizing!
Cheers, mwh
On Wed, 09 Mar 2011 17:38:34 +1300, Michael Hudson-Doyle michael.hudson@linaro.org wrote:
tl;dr version: see https://android-build.linaro.org/mockup/index, click around. Don't expect to be able to do much unless you're in ~linaro-android-builders
Hi all,
The frontend to the build service that I've been working on for the last couple of weeks is -- to my understanding <wink> -- now feature complete. You can see it at:
https://android-build.linaro.org/mockup/index
It works better in chrome than firefox currently, although I hope to be through the worst of that soon.
I think I've fixed these problems now, please let me know if anything doesn't work in FF. I imagine things are a bit broken in IE, no way to test...
Cheers, mwh