Commit graph

22 commits

Author SHA1 Message Date
Lin Jen-Shin
f463ef5ec5 Also use latest_status, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_20058857
2016-12-15 18:12:33 +08:00
Lin Jen-Shin
101cde38cf Use Ci::Pipeline#latest for finding pipelines
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_18861407
2016-11-24 18:41:45 +08:00
Lin Jen-Shin
3a8fb95c98 Fix tests 2016-08-26 15:40:12 +08:00
Grzegorz Bizon
42496ecef7 Render coverage badge for latest successful pipeline 2016-08-18 16:30:43 +02:00
Grzegorz Bizon
b13e1d795a Add small corrections to test coverage report badge 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
3e481f154f Add metadata and template methods for coverage badge 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
dbb9d6a726 Extract base abstract template for badges 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
796efcc704 Add template class for coverage report badge 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
cc244160c5 Extract the abstract base class of badge metadata 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
7b840c8483 Add coverage report badge metadata class 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
f0ff1bfdcc Implement the main class of test coverage badge 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
f3de46e6b0 Refactor badge template and metadata classes 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
9f0b46c05a Move badges to separate modules and add base class 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
6f0b5800a9 Add empty test coverage badge class and specs 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
89f2be7d58 Improve indentation in svg badge template 2016-08-08 13:12:47 +02:00
Grzegorz Bizon
bc17996227 Improve builds badge specs, remove legacy methods 2016-08-08 12:38:36 +02:00
Grzegorz Bizon
1b5e2303de Use new badge template to render build status badge 2016-08-08 10:05:52 +02:00
Grzegorz Bizon
503c44ee2a Add badge template class to use with SVG ERB template 2016-07-28 15:30:05 +02:00
Grzegorz Bizon
0c4fa8619c Calculate build status only in build badge class 2016-07-28 14:58:53 +02:00
Grzegorz Bizon
9ae1ecf876 Extract build status badge metadata to separate class 2016-07-28 14:35:02 +02:00
Grzegorz Bizon
b7fa7c4d59 Extend build status badge, add html/markdown methods 2016-04-06 19:56:34 +02:00
Grzegorz Bizon
4cd1b9f4d8 Refactor builds badge, encapsulate inside a class 2016-03-29 09:01:19 +02:00