[Buildbot-devel] Forcing builds remotely, anyone with code in stock?

Marc-Antoine Ruel maruel at chromium.org
Sat Jan 30 17:50:02 UTC 2010


2010/1/30 Lukáš Linhart <writeme at almad.net>:
>>>> > Hi,
>>>> >
>>>> > I'm looking at adding code to an external web app to trigger builds in
>>>> > buildbot. I'd probably like to not have to use a webstatus, so I
>>>> > figured that doing something via pb might work.
>>>> >
>>>> > Has anyone done that already and would like to share some code?
>
> Well, I've "written" (as in stole from chromium) a scheduler that
> exposes an "rest api" (as in single uri for now) and accepts posts
> with JSON. Currently it only accepts "builder" and "changeset", but I
> expect it to expand.
>
> See HttpApi class in
> http://github.com/ella/cthulhubot/blob/master/cthulhubot/buildbot.py
>
> No auth protection for it yet, but I doubt I'll write any - asi
> cthulhubot is webapp on top of buildbot, it's more likely I'll just
> accept connection from webapp server only.
>
> Regards,
>
> Almad

As long as you comply with the license at
http://src.chromium.org/viewvc/chrome/trunk/src/LICENSE?view=markup
...

M-A, the person who wrote the code in the first place




More information about the devel mailing list