Commit graph

12 commits

Author SHA1 Message Date
Mayra Cabrera
0bc9e0b4fe Removes redundant error message for script failures
Script failure message was redundant so it was removed. Also 'check your
job log' message was removed from all the error messages.

Closes #44271
2018-05-24 15:14:28 -05:00
Mayra Cabrera
f494f2711a Respect the inheritance chain between Ci::Build and CommitStatus
Also moves the assertions were they belong
2018-05-16 15:59:51 -05:00
Mayra Cabrera
93780da67c Resolve "Show failure_reason in jobs view content section" 2018-04-19 07:20:53 +00:00
Mayra Cabrera
d54cf868f8 Resolve "Show failure_reason and upgrade tooltips of jobs" 2018-04-05 21:04:42 +00:00
Shinya Maeda
5b88bd81f5 Move trigger_variables to presenter 2017-09-04 22:21:47 +09:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Yorick Peterse
c63e322158
Add many foreign keys to the projects table
This removes the need for relying on Rails' "dependent" option for data
removal, which is _incredibly_ slow (even when using :delete_all) when
deleting large amounts of data. This also ensures data consistency is
enforced on DB level and not on application level (something Rails is
really bad at).

This commit also includes various migrations to add foreign keys to
tables that eventually point to "projects" to ensure no rows get
orphaned upon removing a project.
2017-07-06 12:01:36 +02:00
Grzegorz Bizon
0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Lin Jen-Shin
1bed2c87e9 Add missing tests and update test description 2017-04-06 21:53:02 +08:00
Lin Jen-Shin
057c0d7a5c Also track auto-cancelling in jobs, detail:
Not only tracking auto-cancelling in pipelines,
we'll also track this in jobs because pipelines
could be retried and the information would get lost
when this happened. Also erase auto-cancelling
relation for pipelines when they're retried.
2017-04-06 21:32:56 +08:00
Lin Jen-Shin
e258e6f147 Add test for presenters 2017-04-06 03:10:52 +08:00
Rémy Coutable
061bb6eb6e More improvements to presenters
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-18 16:38:35 +01:00
Renamed from spec/presenters/ci/build/presenter_spec.rb (Browse further)