[almighty] using ci.centos.org for ALM

Karanbir Singh kbsingh at redhat.com
Mon Aug 22 10:51:58 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Konrad,

Hope you had a good weekend.

On 18/08/16 10:27, Konrad Kleine wrote:
> Hi Karanbir,
> 
> thank you for showing your PoC.
> 
> I'd be happy to have a job for almighty like your PoC. The 
> scripts:
> 
> https://github.com/kbsingh/devtools-ci-index/blob/master/devtools-ci-i
ndex.yml
>
>
>
>
>
> 
and
> https://github.com/kbsingh/ci_poc/blob/master/run.sh
> 
> look easy enough to modify them.
> 
> I have a few questions though:
> 
> * How can one realize building PRs? I bet there's a special trigger
> for this, right? Currently you seem to be building every 10 minutes
> according to this trigger 
> (https://github.com/kbsingh/devtools-ci-index/blob/master/devtools-ci-
index.yml#L11).
>
>
>
>
> 
With JJB, there are 2 types of jobs:
1) the service job that will typically run on schedule. This job will
then parse the devtools-ci-index.git repo and setup jenkins jobs,
change configs and notification details etc for the actual jobs. I
think leaving that on a 10 min cron might be ok.

2) the actual build jobs : I have a little PoC job there, let me try
and adapt that for the almighty-core and demonstrate the github
integration. We typically use the github webhooks to setup a notify
task into jenkins rather than the other way around. This has quite a
few advantages in that we can accept different kind of notify's and do
different operations based on those - however, it does come with the
downside that the ci-centos user needs to be added into the
contributors for the git repos in github.com. If this isnt seen as a
major problem, it would be the easiest, fastest path to take.

> * Here's one important question: How can I get access to 
> ci.centos.org <http://ci.centos.org>? I cannot login with my RH 
> credentials but I need to in order to store my Github API key on 
> the Jenkins so that it can report back to github about issues with
>  a build.

since we add the ci-centos user, that can then do the feedback part of
things. Would that work ?

Regards

- -- 
Karanbir Singh, Project Lead, The CentOS Project, London, UK
Red Hat Ext. 8274455 | DID: 0044 207 009 4455
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJXutlOAAoJEI3Oi2Mx7xbt4i4H/jrI9PWJZRj7hQgnNYQFJmj3
FGs4aYjWhMeuByTtPMCmC/OAqBxIsX8U9U0m4CKq+kL99A5glIBXI3uBAxqK4Xta
VVAseKm30dhl6HhnEAib+7JOKocQJyQfYE7Xd0e/OJSc4USM+q1U2kx+52mjerJ3
XcNIXPXb/qECz4aTED+OMYHVzw+iGT1vZYeCY3e0JVfEnKhFJMAIW31Z0Jx1Dmg6
hy2Lv7qIZT9hetCS3LtYPfJCKqc5XljYSbSdMiJHe4A8gFjysf3dPFuIpoxLGgEx
wEcsMgJh818OzRIEHJpRgqOnZJtfvP1+TKBo0e7kdgy+7qtqBStQoMSpWq+GpQg=
=xTKj
-----END PGP SIGNATURE-----




More information about the almighty-public mailing list