Bug 93228 - Add Mesa git post-receive hook for Appveyor
Summary: Add Mesa git post-receive hook for Appveyor
Status: CLOSED FIXED
Alias: None
Product: freedesktop.org
Classification: Unclassified
Component: Version control (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: fd.o Admin Massive
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 14:54 UTC by Jose Fonseca
Modified: 2016-03-30 15:12 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.