Yep, the trigger to call Jenkins from Github PR's is something Infra controls. All I know is that I sent an email to us...@infra.apache.org explaining what I was trying to do, and an Infra team member said they "enabled two options" for me and then everything worked.

Hopefully, if you just tell them "Trying to invoke ASF Jenkins from Github PR", that'll be enough to get them to do it for all of our GH repos :)

On 3/25/19 10:40 PM, OpenInx wrote:
I see the guide in https://cwiki.apache.org/confluence/display/INFRA/GitHub+Pull+Request+Builder, I think we need create some
webhook in our apache/hbase github repository.

Oh, maybe I can have a try in my own forked github repo, if work, then I can put it in apache/hbase repo.

On Tue, Mar 26, 2019 at 10:27 AM Sean Busbey <bus...@apache.org <mailto:bus...@apache.org>> wrote:

    Access to Jenkins is granted by the PMC chair. When I'm back at a laptop
    tomorrow I can post the guide for access.

      You shouldn't need access to the setting of the GitHub repos to do
    this;
    I'm not even sure what gitbox integration gives us. I'll confirm by
    checking how the two projects I know to have this set up (Hadoop and
    Yetus).

    On Mon, Mar 25, 2019, 21:23 OpenInx <open...@gmail.com
    <mailto:open...@gmail.com>> wrote:

     > @stack boss, Can you  see the settings  also the jenkins config
    ?  If so,
     > mind you grant those permissions?
     >
     > On Tue, Mar 26, 2019 at 10:17 AM 张铎(Duo Zhang)
    <palomino...@gmail.com <mailto:palomino...@gmail.com>>
     > wrote:
     >
     > > I can not see the settings tab on github either...
     > >
     > > OpenInx <open...@gmail.com <mailto:open...@gmail.com>> 于2019年
    3月26日周二 上午10:11写道:
     > >
     > >> So the current problem is:  github PR can not trigger hadoop
    QA ?  I
     > will
     > >> take some time to let this work, but
     > >> seems I've no setting permissions in github repo, also no
    permission to
     > >> view the jenkins config.
     > >> @Sean Busby, @Josh Elser <jel...@hortonworks.com
    <mailto:jel...@hortonworks.com>> @张铎(Duo Zhang)
     > >> <palomino...@gmail.com <mailto:palomino...@gmail.com>>  Could
    you help to grant those permission to me
     > >> ?
     > >>
     > >> On Fri, Mar 15, 2019 at 11:28 PM Sean Busbey
    <bus...@apache.org <mailto:bus...@apache.org>> wrote:
     > >>
     > >>> I suspect this blog post on getting Yetus checks against
    GitHub PRs
     > >>> working will be more directly applicable:
     > >>>
     > >>>
     > >>>
     >
    
https://effectivemachines.com/2019/01/24/using-apache-yetus-with-jenkins-and-github-part-1/
     > >>>
     > >>> Of course, the examples Peter has gotten working on
    hbase-connectors
     > >>> and hbase-operator-tools will probably be most applicable,
    but IIRC
     > >>> they don't provide feedback directly on the github PR, so
    contributors
     > >>> will have to click through to jenkins.
     > >>>
     > >>> On Fri, Mar 15, 2019 at 9:42 AM Josh Elser <els...@apache.org
    <mailto:els...@apache.org>> wrote:
     > >>> >
     > >>> > Of course, found them right after I sent this :)
     > >>> >
     > >>> >
     > >>>
     >
    
https://lists.apache.org/thread.html/c441a64c28547ca405b65ad97a7dc78601d33149eb8fcc64aee88eeb@%3Cbuilds.apache.org%3E
     > >>> >
     > >>>
     >
    
https://lists.apache.org/thread.html/a21448239fe5dab8a486df72f032d84aade7425d1dac625b0410b63c@%3Cbuilds.apache.org%3E
     > >>> >
     > >>> > ChrisT gave me the necessary clarification to get things
    working.
     > >>> > Hopefully between our current Jenkins automation and the
    job I sent
     > >>> > below, it'd be enough to get something functional if you
    have the
     > time
     > >>> > to devote to it :)
     > >>> >
     > >>> > On 3/15/19 10:40 AM, Josh Elser wrote:
     > >>> > > I went through this exercise recently, trying to get it
    set up for
     > >>> Ratis:
     > >>> > >
     > >>> > > The result is at
     > >>> > >
     > https://builds.apache.org/job/PreCommit-RATIS-github-pull-requests/
     > >>> > >
     > >>> > > Infra has docs up at
     > >>> > >
     > >>>
     >
    
https://cwiki.apache.org/confluence/display/INFRA/GitHub+Pull+Request+Builder
     > >>> .
     > >>> > > I remember them not being 100% accurate but I'm having
    trouble
     > >>> finding
     > >>> > > the thread where I was talking to them about this. Will
    write back
     > >>> if I
     > >>> > > find it.
     > >>> > >
     > >>> > > On 3/15/19 12:14 AM, Yu Li wrote:
     > >>> > >> I'm afraid not for driving this but yes to offer a hand
    (smile).
     > >>> > >>
     > >>> > >> Is there already some planned steps ongoing? Infra setup is
     > >>> something I'm
     > >>> > >> not familiar but required for pre-commit and daily check on
     > Travis,
     > >>> other
     > >>> > >> than that just count me in and let me know what I could
    do to
     > help.
     > >>> > >>
     > >>> > >> Best Regards,
     > >>> > >> Yu
     > >>> > >>
     > >>> > >>
     > >>> > >> On Thu, 14 Mar 2019 at 21:26, 张铎(Duo Zhang) <
     > palomino...@gmail.com <mailto:palomino...@gmail.com>>
     > >>> > >> wrote:
     > >>> > >>
     > >>> > >>> I think PR will be good. Do you have any cycle to drive
    this Yu
     > Li?
     > >>> > >>> Thanks.
     > >>> > >>>
     > >>> > >>> Yu Li <car...@gmail.com <mailto:car...@gmail.com>> 于
    2019年3月14日周四 下午8:53写道:
     > >>> > >>>
     > >>> > >>>> I see, thanks for the quick response Peter.
     > >>> > >>>>
     > >>> > >>>> Best Regards,
     > >>> > >>>> Yu
     > >>> > >>>>
     > >>> > >>>>
     > >>> > >>>> On Thu, 14 Mar 2019 at 17:38, Peter Somogyi <
     > psomo...@apache.org <mailto:psomo...@apache.org>>
     > >>> > >>>> wrote:
     > >>> > >>>>
     > >>> > >>>>> For hbase repository we do not yet have the
    integration to
     > >>> accept pull
     > >>> > >>>>> requests but hbase-connectors and hbase-operator-tools
     > >>> repositories
     > >>> > >>> moved
     > >>> > >>>>> to GitHub PR workflow instead of accepting patch files.
     > >>> > >>>>>
     > >>> > >>>>> Peter
     > >>> > >>>>>
     > >>> > >>>>> On Thu, Mar 14, 2019 at 9:42 AM Yu Li
    <car...@gmail.com <mailto:car...@gmail.com>>
     > wrote:
     > >>> > >>>>>
     > >>> > >>>>>> Hi All,
     > >>> > >>>>>>
     > >>> > >>>>>> Please forgive me if this is already clearly
    clarified in
     > other
     > >>> mail
     > >>> > >>>>>> threads, but last time when I saw discussion about
    this we
     > were
     > >>> still
     > >>> > >>>>>> lacking some INFRA support to accept PR from github,
    so I'd
     > >>> like to
     > >>> > >>>>> double
     > >>> > >>>>>> check here. Many thanks.
     > >>> > >>>>>>
     > >>> > >>>>>> Best Regards,
     > >>> > >>>>>> Yu
     > >>> > >>>>>>
     > >>> > >>>>>
     > >>> > >>>>
     > >>> > >>>
     > >>> > >>
     > >>>
     > >>
     >

Reply via email to