Auto test merge requests
Setting a web hook the CI can be notified when a merge request is created. https://gitlab.com/help/web_hooks/web_hooks#merge-request-events
That means the noosfero-ci will need a CGI to register the http test request, in a queue, and a queue process script. (That may be useful for other Noosfero devs to request branch test)
It is not clear now, but gitlab asks to the CI about the commit test status. The allowed states are: success
, failed
, running
, or pending
.
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/models/project_services/ci_service.rb
It also displays a link to the CI log page. Something like http://jenkins.example.com:8888/job/test1/scm/bySHA1/12d65c
The status response and the log page may still being static files, created and updated by noosfero-ci
main script.