-
Notifications
You must be signed in to change notification settings - Fork 904
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
Set up TC codebetter build #20
Comments
Can you give me access to TC? Happy to take a look at this. |
That would be Hadi or Maarten that could give you access. On Sunday, January 18, 2015, Gary Ewan Park notifications@github.com
Rob http://devlicio.us/blogs/rob_reynolds |
@hhariri or @maartenba can you hook me up with access to the Chocolatey Project on the TeamCity Codebetter instance? My username is the same as it is for GitHub. Thanks! |
@gep13 made you a project admin for Chocolatey. |
@maartenba nice one, thank you very much! 😸 |
Thank you @maartenba ! |
If you can look at http://teamcity.codebetter.com/project.html?projectId=ChuckNorris&tab=projectOverview (roundhouse), it will give you an idea of how I want it. :) Keep in mind that the RH build is probably outdated compared to what this is going to have. |
Have started to implement this. Just dropped you an email with some questions. Will follow up based on your responses. |
Not sure if I set it completely up correctly. Still waiting to see it update the status on a PR I synchronized. |
Yeah, still doesn't seem to be working :-( What permissions did you give to the token that you assigned? Can I get a screenshot? I will put it past Maarten to see if it has everything that is required. |
I did notice some AppVeyor status info. Not sure if GitHub allows overwriting it? |
@maartenba I was going by this: https://github.com/blog/1935-see-results-from-all-pull-request-status-checks Could it be that there is something in either the AppVeyor or TeamCity side of things needs to change so that they are live in harmony? Or am I missing the intent of the multiple build status API? |
So appveyor supports and uses the multiple build status, so it wouldn't overwrite anything. Take a look at https://github.com/puppetlabs/cfacter/pull/224 for an example of the multiple status. |
Github Auth TokenI put in the same permissions that were requested, however I noticed that when you select I removed Team City SettingsSince the last time I checked, I noticed the url has changed (to remove |
@ferventcoder I didn't change the URL, but I did change the Context to be:
But I see that this has changed to |
I changes the URL and context to see if it helped. |
sweet! I will push up some changes and see if it picks it up. |
Pushed, nothing yet #30 (comment) |
Seeing a 404 in the server log, which according to GitHub means that auth failed. Just as a test, could you try with your full credentials configured? |
@maartenba keys updated. That user is set to full access to the token. This is how it allows items (I removed |
Nope, TeamCity should be able to do it without the webhook. On the TC side, could you try your credentials instead of a token? (just for testing) |
Changed and pushed. |
It doesn't know about it yet. Have you thought about adding the push from github webhooks to kick off builds? |
In a separate conversation I asked @maartenba if this; http://tcplugins.sourceforge.net/info/tcWebHooks Could be added to the CodeBetter TeamCity instance. This was to allow integration into Gitter Chat, but sounds like it could be used for other things as well. |
Okay, so it has noticed the pending changes, but still no status update. |
Strangely again though, the AppVeyor status is working again. |
So now that we've determined it is a permissions issue, I think we need to have @maartenba tell us what those permissions should be. ;) |
Woot! 😸 For the sake of consistency, otherwise it will bug the crap out of me, can we make the context |
Done. Switched to the choco-bot user. I'll do another push and see if that works. |
Perhaps @jonnyzzz knows which permissions should be given to the token? |
@maartenba @jonnyzzz Would you agree that something can sit in pending status for awhile? TravisCI and AppVeyor are both subject to this - so they push a status update of pending until they are ready to kick off. Still queued... |
I think there is a missing permission here somewhere - we'll need it locked down so we are happy to try out a few things with you guys. Now that we've determined it is a permissions issue, can we start determining what it is that is necessary? Perhaps there is something in the plugin that is attempting to request too much permission? |
I'm guessing the code for this is at https://github.com/JetBrains/commit-status-publisher but I haven't looked too deeply into it. |
Sweet, I created jonnyzzz/TeamCity.GitHub#73 |
Actually this may just be an issue with that user. I'm going to set up an access token under my account. |
I put this comment on jonnyzzz/TeamCity.GitHub#73 (comment), but I thought I would share here as well:
Once you switch over to a user with write access (and in this case add an authorization token), it works appropriately: |
I'm good with considering this closed for now. |
Cool. I have just corrected the TeamCity settings to put a |
@gep13 thanks, copy pasta error. |
No worries, things like that just sort of jump out at me :-D |
No description provided.
The text was updated successfully, but these errors were encountered: