-
Notifications
You must be signed in to change notification settings - Fork 245
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
Add env var for github slug #86
Conversation
👍 for this! |
20ceefd
to
6fc75ea
Compare
@mmozuras any idea when we might be able to pull this in? I'd switch our systems to using pronto, but this appears to be the key blocker for us ... |
6fc75ea
to
88bdbe7
Compare
@tansaku you could use a temporarily solution like me -> https://github.com/diaspora/vines/blob/develop/Gemfile#L5 |
Pronto fetches the first url from all available remote urls. If it is a fork it will be the upstream url Signed-off-by: Lukas Matt <[email protected]>
Good call @zauberstuhl - I'm just checking that your code works for our situation - that would be a good plan if it does indeed work :-) |
I've pulled down your fork, and am just trying to work out how to get an executable pronto out of your code ...
|
If you pulled the repository: Check my travis config -> https://github.com/diaspora/vines/blob/develop/.travis.yml#L10 |
thanks - I get
I'm on OSX. I was trying to run locally before starting to play with CI like travis - we have travis set up on the repos we're tracking, but was trying to slice off a simpler check first, since we already have hound running there ... |
@tansaku I would suggest installing pronto via bundler, cause it installs automatically required dependencies. |
thanks @zauberstuhl - yeah, found that rugged thing too - just spent the last 10 trying alternatives - seems to be blocked for me on OSX at the moment whatever I do - newest rugged gem seems incompatible:
I was assuming running |
yes that should do the trick |
working - okay, thanks for your help - great proof of concept for my team - now we just need @mmozuras to pull this in - for ref I can now post across forked repos like so: GITHUB_SLUG=makersacademy/takeaway-challenge PULL_REQUEST_ID=124 bundle exec pronto run -f github_pr -c origin/master |
don't forget the |
I didn't seem to need the GITHUB_ACCESS_TOKEN as our repos are all public ... |
@zauberstuhl would using |
@zauberstuhl what do you think of @mmozuras's suggestion above? |
@tansaku I've added ability to configure Pronto via Thanks @zauberstuhl for this pull request, would not have happened without it! 🙇 |
@mmozuras thanks and sorry haven't seen your post above |
Pronto fetches the first url from all available remote urls.
If it is a fork it will be the upstream url
To support forks you should be able to configure this part of the url, too!