diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-06-23 13:06:25 +0400 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-06-23 13:06:25 +0400 |
commit | 5e00b7337ba0b9aae279e5dbaa68c4b2c644318d (patch) | |
tree | 12d776d0c038967d3d9ac663aea7388403946e5d /doc/raketasks | |
parent | ffece96dd13fc99e24d65f2a374572c218c1f892 (diff) |
Also spell out gitlab-rake for web hook tasks
Diffstat (limited to 'doc/raketasks')
-rw-r--r-- | doc/raketasks/web_hooks.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/raketasks/web_hooks.md b/doc/raketasks/web_hooks.md index 704473af2d9..ac32c01289d 100644 --- a/doc/raketasks/web_hooks.md +++ b/doc/raketasks/web_hooks.md @@ -2,26 +2,44 @@ ## Add a web hook for **ALL** projects: + # omnibus-gitlab + sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" + # source installations or cookbook RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" ## Add a web hook for projects in a given **NAMESPACE**: + # omnibus-gitlab + sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme + # source installations or cookbook RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme ## Remove a web hook from **ALL** projects using: + # omnibus-gitlab + sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" + # source installations or cookbook RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" ## Remove a web hook from projects in a given **NAMESPACE**: + # omnibus-gitlab + sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme + # source installations or cookbook RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme ## List **ALL** web hooks: + # omnibus-gitlab + sudo gitlab-rake gitlab:web_hook:list + # source installations or cookbook RAILS_ENV=production bundle exec rake gitlab:web_hook:list ## List the web hooks from projects in a given **NAMESPACE**: + # omnibus-gitlab + sudo gitlab-rake gitlab:web_hook:list NAMESPACE=/ + # source installations or cookbook RAILS_ENV=production bundle exec rake gitlab:web_hook:list NAMESPACE=/ > Note: `/` is the global namespace. |