gitlab-org--gitlab-foss/spec/services
Douwe Maan 3f6f2bbe14 Merge branch 'create-todo-on-failing-build' into 'master'
Create a todo on failing MR build

Implements #14067. I worked on this with @DouweM (any mistakes are mine).

When a build fails for a commit, create a todo for the author of the merge request that commit is the HEAD of. If the commit isn't the HEAD commit of any MR, don't do anything. If there already is a todo for that user and MR, don't do anything.

Current limitations:
- This isn't configurable by project.
- The author of a merge request might not be the person who pushed the breaking commit.
- I haven't tested this with a working CI setup, just with the unit tests below and by modifying my DB directly.


See merge request !3177
2016-05-19 21:18:22 +00:00
..
auth Fix specs 2016-05-16 23:40:40 -05:00
ci Fix specs 2016-04-11 23:32:55 +02:00
groups Fix specs 2016-03-20 23:26:58 +01:00
issues Move #create_confidentiality_note to Issues::UpdateService 2016-05-18 17:43:40 -05:00
merge_requests Create a todo on failing MR build 2016-05-17 10:17:45 +01:00
milestones
notes Adapt tests to new testing guidelines 2016-04-12 15:43:29 +02:00
projects Use container registry config stub 2016-05-16 18:07:49 -05:00
create_commit_builds_service_spec.rb
create_release_service_spec.rb
create_snippet_service_spec.rb Fix more specs 2016-03-20 23:09:33 +01:00
create_tag_service_spec.rb Use a similar approach to branch creation for tag creation 2016-05-04 17:19:13 +02:00
delete_tag_service_spec.rb Delete tags via rugged 2016-04-15 16:05:04 +02:00
delete_user_service_spec.rb
destroy_group_service_spec.rb
event_create_service_spec.rb
git_hooks_service_spec.rb
git_push_service_spec.rb Support supressing text file diffs on the default branch with .gitattributes 2016-04-29 12:45:15 +01:00
git_tag_push_service_spec.rb Refactor GitTagPushService and fig tags_push system event hook 2016-04-19 11:00:30 +02:00
notification_service_spec.rb Support e-mail notifications for comments on project snippets 2016-05-02 11:01:32 -07:00
repair_ldap_blocked_user_service_spec.rb
search_service_spec.rb
system_hooks_service_spec.rb
system_note_service_spec.rb Move #create_confidentiality_note to Issues::UpdateService 2016-05-18 17:43:40 -05:00
test_hook_service_spec.rb
todo_service_spec.rb Create a todo on failing MR build 2016-05-17 10:17:45 +01:00
update_release_service_spec.rb
update_snippet_service_spec.rb Fix more specs 2016-03-20 23:09:33 +01:00