[CentOS-devel] cbs credentials on ci infra

Thu Oct 22 14:38:51 UTC 2015
Brian Stinson <brian at bstinson.com>

On Oct 22 09:20, Karanbir Singh wrote:
> hi,
> 
> it would be great to implement jobs in the CI infra that can tag or
> reject content in cbs tags based on test output. But in order to do
> this, we need to be able to run a koji client in the same place, and
> that in turn means koji credentials.
> 
> since the ci infra is all public and we dont want to publish the creds
> there, thoughts around how we might be able to do this ?
> 
> One option might be to host the creds and koji itself on the
> jenkins-slave nodes, so its not pushed to the ci test infra itself, and
> use the feedback from the test run to make a decision on the slave. This
> does ofcourse complicate the jenkins job setup dramatically ( from the
> existing simple, grab machine, deploy tests, run tests, report
> success/fail ).
> 
> Thoughts on other mechanics ? if at all possible ?
> 
> Regards,
> 
> -- 
> Karanbir Singh
> +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
> GnuPG Key : http://www.karan.org/publickey.asc
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel

Not sure if this will actually help us (and I haven't done much research
into this particular plugin), but we could do something similar to this:  

https://wiki.jenkins-ci.org/display/JENKINS/Koji+Plugin

The idea would be having a 'koji' buildstep that happens after the 'run
tests' step to do the tagging.

--Brian