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
Seems there's an issue with the Travis integration in the newest PRs. Travis still picks up the commits and run builds, but it's not visible inline in the PRs :(
I can contact Travis about the issue, but I'll like to know the Travis webhook status from our perspective first, but I dont have sufficient repo access. Could some of the repo owners please check Settings -> Webhooks & Services?
Hello there! The integration seems to be off because we lost some crucial data about this repository while syncing. Could an admin of this repository (is it you, @mikeal?) log out and back in to https://travis-ci.org, and resync data to see if that fixes the issue?
@BanzaiMan I just removed the old Travis service link, hooked up with @rvagg's account, then created a new link with my account. Unfortunately didn't work. Travis doesn't know about this repo https://travis-ci.org/nodejs/nodejs.org, even though we have had 3 commits since the Travis service links was altered.
As the nodejs organization don't allow private access to third-party applications, I'm assuming re-sync on http://travis-ci.org/profile isn't possible?
I believe greenkeeper is broken for the same reason as travis, we've disabled third-party app integrations—I'm not sure what the context of this was, I guess security, but it should still be possible to do it with personal authentication tokens. I've tried putting mine back into this repo (sorry @PhilipJ, I nuked yours before I realised what it was and that may explain why it hasn't worked properly) but I'm not sure if works or not. Feel free to remove mine and try again with another one if this is the case.
Still haven't found a solution on this. Have been in contact with three helpful Travis support employees, without luck. Their conclusion is we have to provide org wide 3rd party access to their app. Manually adding a webhook on our side isn't possible either.
@mikeal rumours has it you have some ideas around this?
Yupp, Travis builds branches but sadly doesn't integrate build status on PRs :(
One reply I got from Travis support might shed some light on why 3d party access is needed:
At the moment our GitHub synchronization is based on the /user/repos payload (https://api.github.com/users/rvagg/repos). We use this to determine user permissions on repoositories (these are visible when authenticated). We need to know about at least one user with write permissions.
I'll talk to the rest of the team to see if there's any way for us to get this working without 3rd party access globally turned on. However, I'm pretty sure our OAuth application needs to be granted access (e.g. see https://help.github.com/articles/approving-third-party-applications-for-your-organization/) in order for us to have any kind of write access (setting build status information etc).
So when Travis can't help us, we've got to fix it ourselfs, right?
I just created nodejs-github-bot to help us get integrated build status from Travis, in the form of comments seen in #539 (comment). It starts polling Travis as soon as a new PR opens. Haven't implemented PR updates yet. We'll have to see how useful this gets in the future, but pretty confident it could do some good.
@stevemao I'm not sure why you got that email, but I enabled and disabled it to let citgm get Travis builds.
We aren't going to let Travis have full time private access. Sorry. This is a problem on travis' end but they don't seem to have any interest fixing it.
Activity
lpinca commentedon Nov 13, 2015
Unrelated but I also wonder if greenkeeper bot is working.
node-version-datahas been updated to version1.0.1but we didn't receive a pr yet.mikeal commentedon Nov 13, 2015
I see one webhook to a random IP address and another to greenkeeper, so maybe it got turned off?
phillipj commentedon Nov 13, 2015
Hmmm.. Not part of the
Settings -> Webhooks & Services -> Serviceslist either @mikeal?Pretty sure @rvagg has said we've got a webhook setup too autodeploy the site, that might be the random IP.
mikeal commentedon Nov 13, 2015
oh, that is there :) it say travis is working and is wired up to @rvagg's account.
phillipj commentedon Nov 18, 2015
Thanks! I'm in contact with Travis support about this now.
BanzaiMan commentedon Nov 18, 2015
Hello there! The integration seems to be off because we lost some crucial data about this repository while syncing. Could an admin of this repository (is it you, @mikeal?) log out and back in to https://travis-ci.org, and resync data to see if that fixes the issue?
phillipj commentedon Nov 24, 2015
@BanzaiMan I just removed the old Travis service link, hooked up with @rvagg's account, then created a new link with my account. Unfortunately didn't work. Travis doesn't know about this repo https://travis-ci.org/nodejs/nodejs.org, even though we have had 3 commits since the Travis service links was altered.
And it still looks like the old service link is active somehow, as new commits are getting built: https://travis-ci.org/nodejs/new.nodejs.org.
As the nodejs organization don't allow private access to third-party applications, I'm assuming re-sync on http://travis-ci.org/profile isn't possible?
rvagg commentedon Nov 24, 2015
I believe greenkeeper is broken for the same reason as travis, we've disabled third-party app integrations—I'm not sure what the context of this was, I guess security, but it should still be possible to do it with personal authentication tokens. I've tried putting mine back into this repo (sorry @PhilipJ, I nuked yours before I realised what it was and that may explain why it hasn't worked properly) but I'm not sure if works or not. Feel free to remove mine and try again with another one if this is the case.
phillipj commentedon Nov 24, 2015
Np, though the issue remains after you linked it back to your account @rvagg. The old Travis service link still picks up the commits/branches. Tested it by pushing a new test branch: https://travis-ci.org/nodejs/new.nodejs.org/builds/92936211
https://travis-ci.org/nodejs/nodejs.org still isn't found or created obviously :(
@BanzaiMan are you able to delete the old Travis link (new.nodejs.org) which seems to be active somehow?
phillipj commentedon Dec 15, 2015
Still haven't found a solution on this. Have been in contact with three helpful Travis support employees, without luck. Their conclusion is we have to provide org wide 3rd party access to their app. Manually adding a webhook on our side isn't possible either.
@mikeal rumours has it you have some ideas around this?
phillipj commentedon Jan 7, 2016
Ping @mikeal
Fishrock123 commentedon Jan 22, 2016
I had to temporarily turn on Travis access to cancel some stuck builds from
readable-stream, so I think builds might be re-enabled here?It seems travis only gives you auth if it has private data access for some reason or other. (Maybe it needs that to view members or teams?)
phillipj commentedon Jan 22, 2016
Yupp, Travis builds branches but sadly doesn't integrate build status on PRs :(
One reply I got from Travis support might shed some light on why 3d party access is needed:
..we never found a solution around it.
phillipj commentedon Feb 25, 2016
So when Travis can't help us, we've got to fix it ourselfs, right?
I just created nodejs-github-bot to help us get integrated build status from Travis, in the form of comments seen in #539 (comment). It starts polling Travis as soon as a new PR opens. Haven't implemented PR updates yet. We'll have to see how useful this gets in the future, but pretty confident it could do some good.
Closing this issue for now.
stevemao commentedon Feb 25, 2016
Just out of curiosity, @phillipj is the script of the bot open source?
phillipj commentedon Feb 26, 2016
Absolutely @stevemao! Its in a throw-it-together state atm, I'll push it up after cleaning it up :)
phillipj commentedon Feb 26, 2016
@stevemao https://github.com/nodejs-github-bot/bot
stevemao commentedon Feb 26, 2016
Looks good @phillipj :)
stevemao commentedon Apr 7, 2016
Hi @phillipj , I received an email saying org let travis access our private data. But I still can't see status on our new PR?
Fishrock123 commentedon Apr 7, 2016
@stevemao I'm not sure why you got that email, but I enabled and disabled it to let citgm get Travis builds.
We aren't going to let Travis have full time private access. Sorry. This is a problem on travis' end but they don't seem to have any interest fixing it.
stevemao commentedon Apr 7, 2016
No worries @Fishrock123 ,
I think everyone in the org got the email.
Why don't we do the same with this repo then?
phillipj commentedon Apr 7, 2016
@stevemao this repo has a Travis partially turned on :) Read more about it in nodejs/citgm#102
MylesBorins commentedon Apr 7, 2016
@Fishrock123 I think the entire org got that email when you flipped the bit
Fishrock123 commentedon Apr 7, 2016
Eh, oh well.