Winnie Hellmann
390abbf054
Add placeholder for remaining time in delayed job tooltips
2018-11-07 10:00:25 +01:00
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
gfyoung
5186d6faa1
Enable frozen string for lib/gitlab/ci/**/*.rb
...
Enables frozen string for all remaining files
in lib/gitlab/ci.
Partially addresses #47424 .
2018-10-30 13:39:30 -07:00
Shinya Maeda
4611a59968
Add failure reason for execution timeout
2018-10-28 18:31:08 +00:00
Grzegorz Bizon
fdcdc36eec
Merge branch 'drop-allow_overflow-option-duration_in_numbers' into 'master'
...
Drop allow overflow option duration in numbers
Closes #52284
See merge request gitlab-org/gitlab-ce!22246
2018-10-22 08:59:16 +00:00
Shinya Maeda
1f1b3923ec
Rename "scheduled" label/badge of delayed jobs to "delayed"
2018-10-19 16:28:41 +00:00
Shinya Maeda
23526470dd
Drop `allow_overflow` option in `TimeHelper.duration_in_numbers`
2018-10-18 15:11:12 +09:00
Shinya Maeda
8bc065e02d
Rename failure reason to stale_schedule
2018-10-02 17:08:14 +02:00
Shinya Maeda
336affe911
Add scheduled status
2018-10-02 17:08:14 +02:00
Shinya Maeda
bc5d649a4c
Add unschedule action to status build
2018-10-02 17:08:14 +02:00
Shinya Maeda
54263dc1d9
Fix coding style offence
2018-10-02 17:08:13 +02:00
Winnie Hellmann
308d11f4bb
Use correct icon for scheduled jobs in pipeline graph
2018-10-02 17:08:13 +02:00
Winnie Hellmann
ea38e832f0
Allow remaining time of scheduled jobs to overflow one day
2018-10-02 17:08:13 +02:00
Winnie Hellmann
f976418d12
Fix URL to empty state graphic of scheduled jobs
2018-10-02 17:08:13 +02:00
Shinya Maeda
fcb77970b6
Fix Status::Build::Scheduled. Add spec for the class.
2018-10-02 17:08:12 +02:00
Shinya Maeda
174fd391f0
Add schedule_expired to failed status
2018-10-02 17:08:12 +02:00
Shinya Maeda
ddb313aebf
Remove Scheduled Status class from pipeline
2018-10-02 17:08:12 +02:00
Shinya Maeda
4b0aa57349
Check the precense of scheduled_at in Status::Build
2018-10-02 17:08:11 +02:00
Shinya Maeda
b1d24c0d14
Fix stuck job worker. Fix sidekiq queue namespace
2018-10-02 17:04:04 +02:00
Shinya Maeda
703a41f886
Introduce enqueue_scheduled event
2018-10-02 17:04:04 +02:00
Shinya Maeda
571a934f29
Fix spec. Create scheduled status entry for pipeline
2018-10-02 17:02:12 +02:00
Shinya Maeda
1a4f497e60
Update pipelines and stages status as well
2018-10-02 17:02:11 +02:00
Shinya Maeda
a7c767f164
Add a new status to ci_builds.status
2018-10-02 17:02:11 +02:00
Shinya Maeda
e265fc3e28
Rename delayed to scheduled
2018-10-02 17:02:11 +02:00
Shinya Maeda
c03631a996
Support new syntax
2018-10-02 17:02:11 +02:00
Shinya Maeda
3fc4c096a5
Squashed commit of the following:
...
commit 9d9594ba20097dc4598f7eb42a9f9d78d73eae54
Author: Shinya Maeda <shinya@gitlab.com>
Date: Thu Sep 13 20:18:31 2018 +0900
Cancel scheduled jobs
commit f31c7172e07a9eb03b58c1e62eaa18cda4064aa6
Author: Shinya Maeda <shinya@gitlab.com>
Date: Thu Sep 13 11:18:42 2018 +0900
Add Ci::BuildSchedule
commit fb6b3ca638f40f9e1ee38b1fdd892bda4f6fede7
Author: Shinya Maeda <shinya@gitlab.com>
Date: Wed Sep 12 20:02:50 2018 +0900
Scheduled jobs
2018-10-02 16:57:37 +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
Filipa Lacerda
5e8f11e5fd
Removes <br> sent from backend on tooltips in jobs
...
When backend sends HTML it requires frontend to append it to the DOM causing
XSS vulnerabilities. By removing the `<br>` we avoid those vulnerabilities
2018-08-09 18:28:05 +01:00
Kamil Trzciński
6893a3a4c9
Improve error message
2018-08-01 12:58:33 +02:00
Kamil Trzciński
2ebba1ff33
Improve Ci::Status::Build specs
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
Grzegorz Bizon
631bd9bf08
Use persisted stages to load pipelines index table
2018-05-21 15:13:32 +02:00
Marin Jankovski
b9d868e33d
Merge branch 'fix/gb/fix-pipeline-statuses-illustrations' into 'master'
...
Fix empty state for build that does not have a trace
Closes #45204
See merge request gitlab-org/gitlab-ce!18278
2018-04-12 07:54:48 +00:00
Grzegorz Bizon
8196794c1e
Add a test for job empty state with missing trace
2018-04-11 10:52:09 +02:00
Grzegorz Bizon
2ea25cbcaf
Revert adding `Empty` extended status to avoid N+1 queries
2018-04-11 10:52:09 +02:00
Grzegorz Bizon
199e31eb24
Extend specs for detailed build extended statuses
2018-04-11 10:52:09 +02:00
Grzegorz Bizon
160ffb6870
Fix empty state for build that doesn ot have a trace
...
It also adds a fallback that covers other edge cases that might surface
later.
2018-04-11 10:52:08 +02:00
Filipa Lacerda
ea7a1e030d
Fixes illustration for when job log was erased
2018-04-09 13:16:08 +01:00
Kamil Trzciński
2bf8345542
Merge branch 'master' into '42568-pipeline-empty-state'
...
# Conflicts:
# app/views/projects/jobs/show.html.haml
# lib/gitlab/ci/status/core.rb
2018-04-06 09:16:40 +00:00
Mayra Cabrera
d54cf868f8
Resolve "Show `failure_reason` and upgrade tooltips of jobs"
2018-04-05 21:04:42 +00:00
Matija Čupić
99edc15127
Put Erased empty state at the beginning
2018-04-05 17:32:03 +02:00
Matija Čupić
f379e1b370
Rename success to erased empty state spec
2018-04-05 13:52:54 +02:00
Matija Čupić
00b45348b9
Fix job setup in success empty state specs
2018-04-04 22:15:18 +02:00
Matija Čupić
d883fe1cce
Add success CI Build empty state status
2018-04-04 21:00:32 +02:00
Matija Čupić
8a4ec84965
Add action_button_title Core status method
2018-04-03 16:54:03 +02:00
Matija Čupić
ddabac46b9
Move action button titles to respective statuses
2018-03-29 19:24:19 +02:00
Matija Čupić
bb0483dc2f
Move the empty state extended status to be the beginning
2018-03-28 16:18:06 +02:00
Matija Čupić
b57fcbe616
Separate the manual empty state from the action empty state
2018-03-28 14:57:17 +02:00
Matija Čupić
c48f33c5be
Move action link to build extended status illustration
2018-03-28 13:51:30 +02:00
Matija Čupić
0969f19849
Move illustration to build specific statuses
2018-03-28 13:31:53 +02:00