Bug 93228

Summary: Add Mesa git post-receive hook for Appveyor
Product: freedesktop.org Reporter: Jose Fonseca <jfonseca>
Component: Version controlAssignee: fd.o Admin Massive <sitewranglers>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: brianp, daniel, emil.l.velikov, sroland
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Jose Fonseca 2015-12-03 14:54:38 UTC
I recently integrated Appveyor into Mesa to get Windows build failure notifications automatically sent to the list:

  http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e6af56666201d97ae0fcf068aa2f08c6737482f

  https://ci.appveyor.com/project/jrfonseca-fdo/mesa

Currently I'm polling Mesa git repos from a cronjob, but ideally we'd setup a git post-review hook, as explained in

  https://github.com/appveyor/webhooks#installing-git-hook


That is

  cd /path/to/mesa.git

  git config appveyor.webhook https://ci.appveyor.com/api/git/webhook?id=XXXXXXXXXXXXXXXXXXX

  (Email me privately for the actual ID instead of XXXXXXXXXXXXXXXXXXX.)

  wget -nv -N https://raw.githubusercontent.com/appveyor/webhooks/master/git/post-receive.rb

  chmod +x post-receive.rb

Then chainload post-receive.rb from the existing post-receive hook somehow.
Comment 1 Daniel Stone 2016-03-29 11:23:50 UTC
Can you please email me the key?
Comment 2 Jose Fonseca 2016-03-30 15:12:26 UTC
It works. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.