-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
badge request - buildbot #6837
Comments
Hello @grooverdan ! 👋🏻 Seems like a good suggestion to me. Would you like to contribute this new badge? We've got a nice little tutorial to help you get going! |
Signed-off-by: Daniel Black <daniel@mariadb.org>
That's a pretty nice tutorial (fyi broken links on 4.2). My first nodejs app in 2 hrs - https://github.com/badges/shields/compare/master...grooverdan:buildbot?expand=1 Not quite there yet. Comments welcome. |
Signed-off-by: Daniel Black <daniel@mariadb.org>
Thanks for pointing the broken links out, will submit a pull request to fix them in a few moments.
Seems like a good start to me. Don't forget the tests, they will also give you confidence that the rest is working. 😉 |
📋 Description Build CI system
buildbot is an open source build system. Anyone running buildbot has the same API built available.
This would show the build status for a builder like ; "builder | build status"
🔗 Data
Is there a public API? yes
e.g.
is a string, however taking the
$.builds[0].results
and translating that to a string/style would be useful.Does the API requires an API key? no
Link to the API documentation:
for build: http://docs.buildbot.net/current/developer/raml/build.html#endpoints
results codes: http://docs.buildbot.net/current/developer/results.html#build-result-codes
🎤 Motivation
This is a good gain for the large community of buildbot users who end up with lots of builders and tests that need a status page.
I wanted an additional page to reflect the current state of testing of the upstream developed mariadb to add to the existing pages reflecting CI at other stages of docker:
https://github.com/MariaDB/mariadb-docker#current-ci-status
I managed to get https://img.shields.io/badge/dynamic/json?label=buildbot%20CI%20upstream&query=$.builds[0].state_string&url=https%3A%2F%2Fbuildbot.mariadb.org%2Fapi%2Fv2%2Fbuilders%2Famd64-rhel8-dockerlibrary%2Fbuilds%3Flimit%3D1%26order%3D-number going as a text status.
The text was updated successfully, but these errors were encountered: