-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http-parser and github-bot #986
Comments
ping @phillipj, have you had a chance to look into this? |
@joyeecheung just found that the bot has to be added as collaborator to the repos we want it to push status updates to. |
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 |
@maclover7 Which repo does the bot need to have access to? I can add it. |
@joyeecheung ah ok. If you could add nodejs/http-parser, that'd be amazing :) |
@maclover7 OK I've added the bots team to http-parser, can you check if it can update the status now? |
Also, http-parser does not seem to have setup the github webhook, doesn't it need one? |
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 :) |
@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. |
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. |
(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?) |
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) |
Having issues when post-build-status-update is POSTing to github-bot:
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.
The text was updated successfully, but these errors were encountered: