Class: Git::BaseHooksService
- Inherits:
-
BaseService
- Object
- BaseService
- Git::BaseHooksService
- Includes:
- ChangeParams, Gitlab::Utils::StrongMemoize
- Defined in:
- app/services/git/base_hooks_service.rb
Direct Known Subclasses
Constant Summary collapse
- PROCESS_COMMIT_LIMIT =
The N most recent commits to process in a single push payload.
100
Instance Attribute Summary
Attributes inherited from BaseService
#current_user, #params, #project
Instance Method Summary collapse
Methods inherited from BaseService
Methods included from BaseServiceUtility
#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level
Methods included from Gitlab::Allowable
Constructor Details
This class inherits a constructor from BaseService
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'app/services/git/base_hooks_service.rb', line 11 def execute create_events create_pipelines execute_project_hooks # Not a hook, but it needs access to the list of changed commits enqueue_invalidate_cache enqueue_notify_kas success end |