Use namespace for gitlab resque
This commit is contained in:
parent
ec7a1c504f
commit
b39002ce88
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue