Commit b39002ce authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use namespace for gitlab resque

parent ec7a1c50
...@@ -8,5 +8,5 @@ do ...@@ -8,5 +8,5 @@ do
# For every branch or tag that was pushed, create a Resque job in redis. # For every branch or tag that was pushed, create a Resque job in redis.
pwd=`pwd` pwd=`pwd`
reponame=`basename "$pwd" | sed s/\.git$//` reponame=`basename "$pwd" | sed s/\.git$//`
env -i redis-cli rpush "resque:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$reponame\",\"$oldrev\",\"$newrev\",\"$ref\",\"$GL_USER\"]}" > /dev/null 2>&1 env -i redis-cli rpush "resque:gitlab:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$reponame\",\"$oldrev\",\"$newrev\",\"$ref\",\"$GL_USER\"]}" > /dev/null 2>&1
done done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment