[Ci-users] Adding CBS Client Integration to ci.centos.org

Thu Jun 23 18:29:54 UTC 2016
Haïkel Guémar <hguemar at redhat.com>

On 23/06/16 20:03, David Moreau Simard wrote:
> There is already a gerrit instance for review.rdoproject.org on
> ci.centos.org (so ci.centos.org can do "third party CI").
> 
> It's not different than running CI jobs on gerrithub, you can see what
> it looks like in JJB format here [1].
> 

Yup, it was more about how to architecture the workflow this rather than
how to do it.
The main goal is to enable more people to do stable builds in CBS
through a peer reviewing process without giving them direct access to
CBS. Ideally, nobody should need direct access to CBS.

> [1]: https://github.com/rdo-infra/ci-config/blob/master/jenkins/jobs/defaults.yml#L48-L73
> 
> David Moreau Simard
> Senior Software Engineer | Openstack RDO
> 
> dmsimard = [irc, github, twitter]
> 
> 
> On Thu, Jun 23, 2016 at 7:02 AM, Haïkel Guémar <hguemar at redhat.com> wrote:
>> On 21/06/16 17:46, Brian Stinson wrote:
>>> Hi Folks,
>>>
>>> In the buildsys meeting this week we discussed adding CBS client integration for
>>> jobs in ci.centos.org
>>>
>>> I think the easiest way to get this going would be to generate
>>> credentials for each project that would like to perform CBS operations
>>> (build, tag-build, untag-build etc.), and place the certificates in the
>>> workspace on the slaves. If this scenario is acceptable, we'd like to
>>> pilot this by Friday of this week.
>>>
>>> In that case you could add a separate build step to call /usr/bin/cbs
>>> with any koji operations you might need to do.
>>>
>>
>> Excellent!
>>
>> Speaking for the Cloud SIG/OpenStack group, I still need to see how to
>> integrate these jobs with our gerrit instance.
>>
>>> In the future we can probably consider the Jenkins koji plugin, but that
>>> looks to need some work on storing credentials for multiple users.
>>>
>>> Are there others interested in integration with CBS? If so I'd like to
>>> get an idea of how you'd like to integrate and what operations you'd
>>> perform during your jobs.
>>>
>>> Cheers!
>>>
>>> --
>>> Brian Stinson
>>> _______________________________________________
>>> Ci-users mailing list
>>> Ci-users at centos.org
>>> https://lists.centos.org/mailman/listinfo/ci-users
>>>
>>
>> _______________________________________________
>> Ci-users mailing list
>> Ci-users at centos.org
>> https://lists.centos.org/mailman/listinfo/ci-users