Commit Graph

28 Commits

Author SHA1 Message Date
Douwe Maan 56de781a2c Revert "Enable Style/DotPosition"
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9.

# Conflicts:
#	.rubocop.yml
#	.rubocop_todo.yml
#	lib/gitlab/ci/config/entry/global.rb
#	lib/gitlab/ci/config/entry/jobs.rb
#	spec/lib/gitlab/ci/config/entry/factory_spec.rb
#	spec/lib/gitlab/ci/config/entry/global_spec.rb
#	spec/lib/gitlab/ci/config/entry/job_spec.rb
#	spec/lib/gitlab/ci/status/build/factory_spec.rb
#	spec/lib/gitlab/incoming_email_spec.rb
2017-02-23 09:33:19 -06:00
Douwe Maan 1fe7501b49 Revert "Prefer leading style for Style/DotPosition"
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23 09:33:05 -06:00
Douwe Maan 206953a430 Prefer leading style for Style/DotPosition 2017-02-23 09:32:22 -06:00
Douwe Maan b7d8df503c Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
Douwe Maan 3dadf306dd Enable Style/DotPosition 2017-02-23 09:31:56 -06:00
Jan Christophersen 95ed01749e Add AsciiDoc snippet for CI/CD Badges
This commit adds CI/CD Badges Snippets for AsciiDoc as requested in #26087.
I've however run into an issue in highlighting the snippet, it seems as if AsciiDoc is currently not being highlighted properly (displayed as plaintext)

Add testcase for to_asciidoc

Update test case for Badges list
2017-02-20 16:37:44 +01:00
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