move buildbot to match new layout
This commit is contained in:
parent
93a0aa6649
commit
c8c9cf690b
|
@ -131,12 +131,16 @@ vicious.contrib.wpa
|
|||
- takes the interface as an argument, i.e "wlan0" or "wlan1"
|
||||
- returns a table with string keys: {ssid}, {qual}, {ip}, {bssid}
|
||||
|
||||
vicious.contrib.buildbot
|
||||
- provides last build status for configured buildbot builders (http://trac.buildbot.net/)
|
||||
- returns build status in the format: [<builderName>.<currentBuildNumber>.<lastSuccessfulBuildNumber>]
|
||||
- if <currentBuildNumber> is the same as <lastSuccessfulBuildNumber> only one number is displayed
|
||||
- <buildNumber> colors: red - failed, green - successful, yellow - in progress
|
||||
- it depends on lua json parser (e.g. liblua5.1-json on Ubuntu 12.04)
|
||||
**vicious.contrib.buildbot**
|
||||
|
||||
Provides last build status for configured buildbot builders (http://trac.buildbot.net/)
|
||||
Supported Platforms: platform independent
|
||||
|
||||
- Returns:
|
||||
* returns build status in the format: [<builderName>.<currentBuildNumber>.<lastSuccessfulBuildNumber>]
|
||||
* if <currentBuildNumber> is the same as <lastSuccessfulBuildNumber> only one number is displayed
|
||||
* <buildNumber> colors: red - failed, green - successful, yellow - in progress
|
||||
* it depends on lua json parser (e.g. liblua5.1-json on Ubuntu 12.04)
|
||||
|
||||
|
||||
Usage examples
|
||||
|
|
|
@ -17,10 +17,7 @@ local bb = {} --list of all buildbot builders
|
|||
local bs = {OK=1, FAILED=2, RUNNING=3}
|
||||
local bc = {"green", "red", "yellow"}
|
||||
|
||||
module("vicious.contrib.buildbot")
|
||||
|
||||
|
||||
|
||||
local buildbot_all = {}
|
||||
|
||||
BB = {}
|
||||
BB.__index = BB
|
||||
|
@ -182,5 +179,5 @@ local function worker(format, warg)
|
|||
end
|
||||
-- }}}
|
||||
|
||||
setmetatable(_M, { __call = function(_, ...) return worker(...) end })
|
||||
setmetatable(buildbot_all, { __call = function(_, ...) return worker(...) end })
|
||||
|
Loading…
Reference in New Issue