Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
2182684c2407
Commit
2543af84
authored
Jan 10, 2015
by
Dmitriy Zaporozhets
Browse files
Execute GitLab CI on tag push
parent
ef48c75c5319
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/services/git_tag_push_service.rb
View file @
2182684c
...
@@ -8,6 +8,12 @@ def execute(project, user, oldrev, newrev, ref)
...
@@ -8,6 +8,12 @@ def execute(project, user, oldrev, newrev, ref)
create_push_event
create_push_event
project
.
repository
.
expire_cache
project
.
repository
.
expire_cache
project
.
execute_hooks
(
@push_data
.
dup
,
:tag_push_hooks
)
project
.
execute_hooks
(
@push_data
.
dup
,
:tag_push_hooks
)
if
project
.
gitlab_ci?
project
.
gitlab_ci_service
.
async_execute
(
@push_data
)
end
true
end
end
private
private
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment