[Ci-users] Testing credentials for GitHub PR plugin

Wed Mar 15 07:39:39 UTC 2017
Marek Skalický <mskalick at redhat.com>

Colin Walters píše v Pá 10. 03. 2017 v 09:00 -0500:
> 
> On Fri, Mar 10, 2017, at 03:31 AM, Marek Skalický wrote:
> > Brian Stinson píše v Čt 09. 03. 2017 v 07:24 -0600:
> > - One job that normally do CI for every PR (job scripts are tested
> > and
> > works good - so the results should be visible for users)
> > 
> > - And I would like to have a second job for the same repository,
> > where
> > I want to "test" new versions of job scripts (that should do the
> > same,
> > but do it in new, for example more efficient, way). And I would
> > like to
> > test them first without showing possible wrong results to user (I
> > will
> > check results directly in Jenkins).
> 
> This is a problem that we solved with https://github.com/jlebon/redha
> t-ci
> which does it in the same way Travis does: your job definition lives
> in the git repository, and when you do a pull request, the job
> definition
> from the pull request is used.
> 
> This lets you test changes naturally.
> 
> See for example:
> 
> https://github.com/ostreedev/ostree/pull/630
> 
> There's some open discussion about having this project be an optional
> frontend "happy path" for Github PR testing using CentOS CI as a
> backend.

Thanks.

But this would require to change my current CI for 15+ repositories.
And it does not worth effort - because being able to test new settings
of jobs before using it in "production" testing is only for my feeling
of safety when doing some improvements.



Someone, please would it be possible to generate github auth token for
centos-ci user with only read:org scope. And add this token as
credential to CentOS CI Jenkins for Github Pull Request builder plugin?

Thanks,
Marek

> _______________________________________________
> Ci-users mailing list
> Ci-users at centos.org
> https://lists.centos.org/mailman/listinfo/ci-users