gitlab-org--gitlab-foss/spec
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
..
config Enable the Rubocop DeprecatedClassMethods cop 2016-05-08 15:33:34 -06:00
controllers Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage' 2016-05-18 12:48:23 -05:00
factories Create a todo on failing MR build 2016-05-17 10:17:45 +01:00
features Merge branch 'with-pipeline-view' into 'master' 2016-05-19 20:42:43 +00:00
finders Make upcoming milestone work across projects 2016-05-16 10:25:24 +01:00
fixtures Added Docker Registry View tests 2016-05-09 23:32:18 +03:00
helpers Merge branch 'rs-cleanup-events_helper_spec' into 'master' 2016-05-12 22:41:19 +00:00
initializers Add tests for setting trusted_proxies 2016-05-04 15:49:39 -07:00
javascripts Fix build notification on merge request page change even if the build status didn't change 2016-05-08 21:41:09 +02:00
lib Merge branch '17464-backport-email-syntax-highlighting' into 'master' 2016-05-19 21:12:53 +00:00
mailers Syntax-highlight diffs in push emails 2016-05-17 13:23:17 +01:00
models Merge branch 'with-pipeline-view' into 'master' 2016-05-19 20:42:43 +00:00
requests Merge branch 'issue_17302' into 'master' 2016-05-18 04:31:12 +00:00
routing Merge branch 'health-check-route' 2016-05-12 16:39:03 -05:00
services Merge branch 'create-todo-on-failing-build' into 'master' 2016-05-19 21:18:22 +00:00
support Fix specs 2016-05-16 23:40:40 -05:00
tasks/gitlab Added backup of container registry 2016-05-16 17:25:38 -05:00
views Move "I should see Crowd login form" feature to a view spec 2016-02-24 17:38:13 -05:00
workers Mask credentials from URL when import of project has failed. 2016-05-18 21:16:36 -05:00
factories_spec.rb Add support for not Active Record based factories 2016-03-30 10:44:18 +02:00
rails_helper.rb
spec_helper.rb Update rspec-rails from 3.3.3 to 3.4.2. 2016-05-01 13:44:50 -06:00
teaspoon_env.rb