Commit Graph

12 Commits

Author SHA1 Message Date
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
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 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
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Lin Jen-Shin 71777a4a18 Rename BuildsController to JobsController
Rename other URL generators

admin_builds_path -> admin_jobs_path

Fix tests and more renaming

Fix more tests

Also change build_id to job_id in the controller
2017-05-17 20:17:30 +08:00
Grzegorz Bizon d60820146f Fix path to build status details in common helpers 2016-12-12 13:28:20 +01:00
Grzegorz Bizon 5059d0b834 Incorporate permission checks into new CI statuses
[ci skip]
2016-12-12 12:59:01 +01:00
Kamil Trzcinski a83a80edb3 Check permission of details 2016-12-12 12:59:01 +01:00
Kamil Trzcinski 1b6c2c3c0a Introduce `cancelable` and `returnable` [ci skip] 2016-12-12 12:59:01 +01:00
Kamil Trzcinski 516dc7a5be Improve actions 2016-12-12 12:59:01 +01:00
Kamil Trzcinski 633e64382d Added Ci::Status::Build 2016-12-12 12:59:01 +01:00