InfoGrab Docs

웹훅 관리 Rake 태스크

웹훅 관리 Rake 태스크에 대해 설명합니다.

GitLab은 웹훅 관리를 위한 Rake 태스크를 제공합니다. 관리자는 웹훅에 의한 로컬 네트워크 에 대한 요청을 허용하거나 차단할 수 있습니다. 모든 프로젝트에 웹훅 추가 # 모든 프로젝트에 웹훅을 추가하려면 다음을 실행합니다: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" # source installations bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" RAILS_ENV=production 네임스페이스의 프로젝트에 웹훅 추가 # 특정 네임스페이스의 모든 프로젝트에 웹훅을 추가하려면 다음을 실행합니다: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=<namespace> # source installations bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=<namespace> RAILS_ENV=production 프로젝트에서 웹훅 제거 # 모든 프로젝트에서 웹훅을 제거하려면 다음을 실행합니다: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" # source installations bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" RAILS_ENV=production 네임스페이스의 프로젝트에서 웹훅 제거 # 특정 네임스페이스의 프로젝트에서 웹훅을 제거하려면 다음을 실행합니다: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=<namespace> # source installations bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=<namespace> RAILS_ENV=production 모든 웹훅 목록 조회 # 모든 웹훅을 조회하려면 다음을 실행합니다: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:list # source installations bundle exec rake gitlab:web_hook:list RAILS_ENV=production 네임스페이스의 프로젝트 웹훅 목록 조회 # 지정된 네임스페이스의 프로젝트에 대한 모든 웹훅을 조회하려면 다음을 실행합니다: # omnibus-gitlab sudo gitlab-rake gitlab:web_hook:list NAMESPACE=<n