Commit 5a906b1d12899675e1a2932beb29d6cfc10539c7
1 parent
836b561a
Exists in
master
and in
4 other branches
add help page for web hooks management using rake tasks
Showing
1 changed file
with
31 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,31 @@ | @@ -0,0 +1,31 @@ | ||
| 1 | +### Add a web hook for **ALL** projects: | ||
| 2 | + | ||
| 3 | + RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" | ||
| 4 | + | ||
| 5 | + | ||
| 6 | +### Add a web hook for projects in a given **NAMESPACE**: | ||
| 7 | + | ||
| 8 | + RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme | ||
| 9 | + | ||
| 10 | + | ||
| 11 | +### Remove a web hook from **ALL** projects using: | ||
| 12 | + | ||
| 13 | + RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" | ||
| 14 | + | ||
| 15 | + | ||
| 16 | +### Remove a web hook from projects in a given **NAMESPACE**: | ||
| 17 | + | ||
| 18 | + RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme | ||
| 19 | + | ||
| 20 | + | ||
| 21 | +### List **ALL** web hooks: | ||
| 22 | + | ||
| 23 | + RAILS_ENV=production bundle exec rake gitlab:web_hook:list | ||
| 24 | + | ||
| 25 | + | ||
| 26 | +### List the web hooks from projects in a given **NAMESPACE**: | ||
| 27 | + | ||
| 28 | + RAILS_ENV=production bundle exec rake gitlab:web_hook:list NAMESPACE=/ | ||
| 29 | + | ||
| 30 | +> Note: `/` is the global namespace. | ||
| 31 | + |