-
Notifications
You must be signed in to change notification settings - Fork 167
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
CI comment ends up in wrong repo #2166
Comments
Looking at the related route that handles request from ci.nodejs.org regarding started jobs, it looks to me as if cURL command executed by ci.nodejs.org specifies I currently don't have enough ci.nodejs.org privileges to see the bash script executed upon job start, but it should be pretty obvious at first glance if I remember correctly. The URL used in that script should be using Does that make sense? Maybe you've got privileges to give it a shot? |
I don’t think I have any special CI privileges. |
Hopefully someone in @nodejs/build with enough CI privileges can have a look? |
I don't have privileges either, but what's probably going on is that
|
@nodejs/jenkins-admins |
The bot is being triggered in the CI by the following pipeline: https://github.com/nodejs/build/blob/master/jenkins/pipelines/post-build-status-update.jenkinsfile It looks like my earlier hypothesis (https://github.com/nodejs/github-bot/issues/245#issuecomment-539711522) is correct -- we need to set the I'll transfer this issue over to build to look at after the security releases go out. |
Except I can't transfer (probably because I don't have the appropriate permissions for this repository). |
Ahh thanks for referencing that If you'd rather not update lots of Jenkins related stuff as you mention, let me know if you think this is better solved in github-bot somehow and want some help with that. |
I didn't at the time, I do now 😀. This does require updating all the |
Wouldn't updating the |
Updated just |
@mmarchini I started https://ci.nodejs.org/job/node-test-pull-request/32125/ but I don't think it has worked. It did trigger https://ci.nodejs.org/job/post-build-status-update/1028669/ but doesn't look like it commented in nodejs/node-auto-test#19. |
It's not commenting on node-auto-test, but it's also not commenting on nodejs/node. And when starting a CI on a PR from nodejs/node it still comments correctly. Not the best outcome, but I call it a win (since at least we're not spamming old issues) :) We probably need more changes on github-bot? I don't have access to the machine so I can't look at the logs to know what's wrong. |
Maybe the bot lacks permission to comment on other repos? |
It's probably https://github.com/nodejs/github-bot/blob/4cce2b9b35f1d3db9d59c06f48d1d2dc63663260/scripts/jenkins-status.js#L4? |
The bot doesn't have write permission on that repo. I made a request to add it: nodejs/node-auto-test#20 |
Protip; the logs are actually exposed over HTTPS. I'll send you a couple of |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
I kicked off CI for nodejs/quic#157 (https://ci.nodejs.org/job/node-test-pull-request/25909/) but the bot commented the CI link on nodejs/node#157.
The text was updated successfully, but these errors were encountered: