diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-07 08:26:39 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-07 08:26:39 +0000 |
commit | 4e1757bfda0530238e3ab4208b47789e196d5602 (patch) | |
tree | e63d4cf8b97ada54d4be1d99a02b68df7c04a099 /lib/hooks | |
parent | 4bfb98ddc90bcc6076e2819619fec7607e74358b (diff) | |
parent | d09d87e3b022f6b7cba0988c4377e44196e35939 (diff) | |
download | gitlab-ce-4e1757bfda0530238e3ab4208b47789e196d5602.tar.gz |
Merge branch 'gitlab-shell' of dev.gitlabhq.com:gitlab/gitlabhq
Diffstat (limited to 'lib/hooks')
-rwxr-xr-x | lib/hooks/post-receive | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/hooks/post-receive b/lib/hooks/post-receive deleted file mode 100755 index 6944d3e3f72..00000000000 --- a/lib/hooks/post-receive +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -# Version 4.1 -# This file was placed here by GitLab. It makes sure that your pushed commits -# will be processed properly. - -while read oldrev newrev ref -do - # For every branch or tag that was pushed, create a Resque job in redis. - repo_path=`pwd` - env -i redis-cli rpush "resque:gitlab:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$repo_path\",\"$oldrev\",\"$newrev\",\"$ref\",\"$GL_USER\"]}" > /dev/null 2>&1 -done |