[Opendnssec-develop] The build bot

Jerry Lundström jerry at opendnssec.org
Mon Jan 13 15:28:56 UTC 2014


Hi all,

Just a quick status update, the bot that will build pull requests is coming
along fine. You will find the code here
https://github.com/opendnssec/build-bot .

What it basically does is; checks periodically for pull requests with bot
commands from given reviewers (config option), creates jobs in Jenkins for
those pull requests and start a build chain and then updates the pull
request with the status of the build.

You can see this currently for
https://github.com/opendnssec/SoftHSMv1/pull/4 , if you look at the first
section you'll see "Waiting to hear about 7e1d5e6" in yellow as it is in
pending status waiting for the build status. It will later (that code is
not in yet), when the build has been done, update the issue with the status
of the build.

Also notice that I made a comment "bot build" below, that is what triggers
the process and that would fit nicely into the process after you have
reviewed the patch. The bot would later on also be able to auto merge the
pull request if the build was successful, if for example the command "bot
build merge" was given.

Anythings possible :)

You can also see the Jenkins jobs tried to this pull request at
https://jenkins.opendnssec.org/view/pull-requests/ (ignore pull-test*). If
a build has failed there will be a quick link from the pull request on
GitHub directly into the job that failed and the build, so it will be easy
to find out why it went red when it does.

Cheers,
Jerry

-- 
Jerry Lundström - OpenDNSSEC Developer
http://www.opendnssec.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20140113/a73d270c/attachment.htm>


More information about the Opendnssec-develop mailing list