-
-
Notifications
You must be signed in to change notification settings - Fork 866
Support for cc.xml #2759
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
Support for cc.xml #2759
Conversation
@cburgmer Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@cburgmer Thank you for signing the Contributor License Agreement! |
activity = "Sleeping" | ||
} | ||
|
||
webUrl := s.createWebUrl([]string{ |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for starting on this! 🙂 Left some feedback/requests inline.
Halfway through the changes I had to upgrade to Golang 1.11.2 to solve their issue 27925 (although I'm unsure whether this helped, or cherry-picking ce8743a). I'm now left with a broken |
@cburgmer Not sure what version of Go you were on before, but if this is your first time with 1.11.x make sure it's cloned outside of your It's also possible that |
Let me know if there's more feedback on the code. As for the topic as such, we can probably continue the conversation on the original issue. |
Just a note as the build has started failing: The merge of this PR is not blocked on the changes, but held back by the maintainers who only wish to maintain this feature should enough folks ask for it (hope I'm representing the sentiment correctly). |
outdated - deferring approval to someone else
@cburgmer Sorry for leaving this in limbo, we were on the fence about this and let it sit over the holidays. I've pinged @pivotal-jwinters to review, thanks for your patience! |
@cburgmer did you solve your upstream auth issues with CCMenu? |
@pivotal-jwinters I did not proceed while this PR was pending so far, but doing so now. Imho this PR should be considered independently of whether CCMenu supports OAuth or not right now, as cc.xml is consumed by more than this one app. Also, do consider that this is a bit of a chicken and egg situation here for both products :) As for logging in via OIDC into Concourse, I haven't found much documentation. I did reverse engineer fly's exchange. Is using the |
Fair enough, just out of curiosity what other services use cc.xml? As far as automating the OAuth flow, yeah, you can just use fly's public client. At this point I think we can merge this, but just a heads up we're going to be revamping our APIs so things might change in the future. |
Thanks. AFAIK CCTray started the format, CCMenu is the OSX implementation but loads of other bigger or smaller build monitors exist based on that format. |
I'm not sure why but the DCO/WIP checks don't seem to have fired for this. @cburgmer would you mind rebasing and pushing to kick everything off again? |
Sure. Rebased and pushed. |
@cburgmer DCO bot still isn't happy - looks like you need to run:
|
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
This matches my expectation with Jenkins. Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
…E :: JOB' Signed-off-by: Christoph Burgmer <christoph.burgmer@gmail.com>
Did the sign-off. I cannot reproduce either failures from testflight and unit locally. |
@cburgmer Thanks! They look like flakes; I'll re-trigger. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging - thanks again!
This PR tries to implement what's being asked for in #438.
Following the documentation in https://github.com/concourse/concourse/blob/master/.github/CONTRIBUTING.md#running-concourse one should yield the following.
Given the token from
~/.flyrc
:I've assumed that an aborted build shall be marked as failed. Apologies for mixed tabs and spaces, I've trusted GoLand to choose the right thing to do, it might have failed me horribly.
The only way to currently access the endpoint is via a token retrieved from fly AFAIK (see above example). I wonder what Concourse wants to offer other apps when it comes to retrieving a long running session, preferably with easy user login. Currently I would see this as a blocker for integrating this new endpoint in my build monitor tools of choice.