Commit graph

12 commits

Author SHA1 Message Date
Kamil Trzciński
40397f3577 Allow to make builds soft-archived.
The soft-archived builds cannot be run after some deadline time.
The intent is to aggressively recycle old builds after sometime.
2018-11-05 15:51:57 +01:00
Shinya Maeda
4611a59968 Add failure reason for execution timeout 2018-10-28 18:31:08 +00:00
Shinya Maeda
8bc065e02d Rename failure reason to stale_schedule 2018-10-02 17:08:14 +02:00
Shinya Maeda
af4b85cef5 Fix commit status presenter spec 2018-10-02 17:08:11 +02:00
Mayra Cabrera
5cfdcce0e6 Introduce class methods so CE constants can be easily overridden on EE 2018-09-07 09:08:31 -05:00
Kamil Trzciński
7bb99c2105 Add specs for unsupported runner 2018-08-01 12:25:19 +02:00
Kamil Trzciński
8ce4bf20e7 Improve CommitStatusPresenter 2018-08-01 12:25:19 +02:00
Kamil Trzciński
6b0bfda8ac Add runner_unsupported CI failure 2018-08-01 12:25:19 +02:00
gfyoung
d5bf57a6af Enable frozen string in presenters and policies
Enable frozen string in:

* app/presenters
* app/policies

Partially addresses #47424.
2018-07-24 13:18:25 -07:00
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
86ef822177 Makes CommitStatus and GenericCommitStatus respond to presentable
methods

Includes Presentable module into CommitStatus. This fixes presenter
methods being called on those classes.

Closes #46177
2018-05-15 14:24:11 -05:00