You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial thought was authentication issue, since GitHub's API docs say that 404s can be returned if the user does not have proper permissions level. Discussed briefly, but @phillipj had to run, so logging this issue so this isn't forgotten.
@maclover7 I meant the PR & push events of http-parser would not be sent to the bot, since there are no hooks configured. But if the bot can get the events somehow (or it does not need those events) then it's good.
(Which reminds me: can we make the bot smarter? Like if the author is a collaborator and they put a keyword in the PR text then the bot will start the CI automatically and reply in the thread?)
I've had a go at triggering Jenkins builds by posting comments in PRs. It worked for a whole week or so in the CITGM repo, before we suddenly started seeing "permission denied" responses from Jenkins IIRC: nodejs/github-bot#146
Mind mentioning that my impression is there's lots of discussions to be had before we can enable something like that on the nodejs/node repo because of the "certify safe" option: nodejs/github-bot#128 (comment)
Activity
maclover7 commentedon Nov 20, 2017
ping @phillipj, have you had a chance to look into this?
phillipj commentedon Nov 21, 2017
@joyeecheung just found that the bot has to be added as collaborator to the repos we want it to push status updates to.
joyeecheung commentedon Nov 22, 2017
Yes, the setup should be similar to https://github.com/nodejs/automation/blob/master/enable-travis-under-nodejs.md except it's a different CI to poll
joyeecheung commentedon Nov 22, 2017
@maclover7 Which repo does the bot need to have access to? I can add it.
maclover7 commentedon Nov 22, 2017
@joyeecheung ah ok. If you could add nodejs/http-parser, that'd be amazing :)
joyeecheung commentedon Nov 23, 2017
@maclover7 OK I've added the bots team to http-parser, can you check if it can update the status now?
joyeecheung commentedon Nov 23, 2017
Also, http-parser does not seem to have setup the github webhook, doesn't it need one?
maclover7 commentedon Nov 23, 2017
Perfect, http-parser-test jobs seem to be updating properly now, thank you for your help!
This was to allow ci.nodejs.org to sent status updates, not Travis CI :)
joyeecheung commentedon Nov 23, 2017
@maclover7 I meant the PR & push events of http-parser would not be sent to the bot, since there are no hooks configured. But if the bot can get the events somehow (or it does not need those events) then it's good.
joyeecheung commentedon Nov 23, 2017
Ah, I see, the events would be manually triggered using the Jenkins UI, instead of being sent from GitHub, like what we do to the node core.
joyeecheung commentedon Nov 23, 2017
(Which reminds me: can we make the bot smarter? Like if the author is a collaborator and they put a keyword in the PR text then the bot will start the CI automatically and reply in the thread?)
phillipj commentedon Nov 23, 2017
For sure.
I've had a go at triggering Jenkins builds by posting comments in PRs. It worked for a whole week or so in the CITGM repo, before we suddenly started seeing "permission denied" responses from Jenkins IIRC: nodejs/github-bot#146
Mind mentioning that my impression is there's lots of discussions to be had before we can enable something like that on the nodejs/node repo because of the "certify safe" option: nodejs/github-bot#128 (comment)