summaryrefslogtreecommitdiff
path: root/app/services/git_tag_push_service.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-06-07 12:32:16 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-06-13 16:05:38 +0200
commit25b99a5b3beecb7251fef9097c44afd1f82f9f57 (patch)
tree8f005048ec11ae7ad27e5d999b263b458c7487a8 /app/services/git_tag_push_service.rb
parentd03e687882552cedaac2a493c9dbf4a3d98e0bac (diff)
downloadgitlab-ce-25b99a5b3beecb7251fef9097c44afd1f82f9f57.tar.gz
Update tests and applicationfix-external-ci-services
Diffstat (limited to 'app/services/git_tag_push_service.rb')
-rw-r--r--app/services/git_tag_push_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/git_tag_push_service.rb b/app/services/git_tag_push_service.rb
index 8710c3999b3..9917a39b795 100644
--- a/app/services/git_tag_push_service.rb
+++ b/app/services/git_tag_push_service.rb
@@ -9,9 +9,11 @@ class GitTagPushService < BaseService
EventCreateService.new.push(project, current_user, @push_data)
Ci::CreatePipelineService.new(project, current_user, @push_data).execute(:push)
+
SystemHooksService.new.execute_hooks(build_system_push_data.dup, :tag_push_hooks)
project.execute_hooks(@push_data.dup, :tag_push_hooks)
project.execute_services(@push_data.dup, :tag_push_hooks)
+
ProjectCacheWorker.perform_async(project.id, [], [:commit_count, :repository_size])
true