Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-11 09:18:14 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-11 09:18:14 +0300
commit2543af84f0925a1eea585675b2a334a5691a110b (patch)
tree37615abcf96dd772bc7cca5b3628e4c2499cee8f /app/services/git_tag_push_service.rb
parentf891ababeb3f1ac90c65596bd5bae50fd56aa66b (diff)
Execute GitLab CI on tag push
Diffstat (limited to 'app/services/git_tag_push_service.rb')
-rw-r--r--app/services/git_tag_push_service.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/services/git_tag_push_service.rb b/app/services/git_tag_push_service.rb
index 62eaf9b4f51..bacd39bf1c4 100644
--- a/app/services/git_tag_push_service.rb
+++ b/app/services/git_tag_push_service.rb
@@ -8,6 +8,12 @@ class GitTagPushService
create_push_event
project.repository.expire_cache
project.execute_hooks(@push_data.dup, :tag_push_hooks)
+
+ if project.gitlab_ci?
+ project.gitlab_ci_service.async_execute(@push_data)
+ end
+
+ true
end
private