Trouble setting up github integration and deploy tracking
I've setup this rake task to run on deploy:
task :notify_airbrake do
puts 'Notifying Airbrake of Deploy'
current_revision = `git rev-parse HEAD`
local_user = `git config --get github.user`
repository = `git config --get remote.origin.url`
puts `rake airbrake:deploy TO=production REVISION=#{current_revision} REPO=#{repository} USER=#{local_user}`
end
But as the attached file shows it only records the hash and doesn't link the revision to github. Is there something else I'm missing?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Morgan on 11 Jun, 2012 04:30 PM
Hello Matt,
Thank you for bringing this issue to our attention. Are you still having trouble getting the deploy to link to github? Please let me know, I will look further into this issue.
From,
Morgan
3 Posted by erwinmatthijssen on 31 Jul, 2012 08:11 PM
Hi Morgan,
I have the same issue on my account. I use the exact same script to notify airbrake: the deploy gets listed, but no links back to github.
Can you help fix this. The Github integration was a big draw for us.
Erwin
Support Staff 4 Posted by Morgan on 31 Jul, 2012 11:39 PM
Hello Erwin,
Please let me know what version of airbrake you are using? Please update to the most current one if yours is out of date. Update me when you get a chance!
From,
Morgan
5 Posted by erwinmatthijssen on 01 Aug, 2012 05:48 AM
Hi Morgan,
We are using version 3.1.2 in our project, which I think is the latest since we updated it to try and solve this issue ourselves.
Any help appreciated!
Erwin
Support Staff 6 Posted by Morgan on 03 Aug, 2012 10:58 PM
Hi Guys,
I was troubleshooting this and we missed some double quotes.
This one works:
Pleas let me know if you run into any other errors!
Have a great weekend!
From,
Morgan
Morgan closed this discussion on 03 Aug, 2012 10:58 PM.