Use badge image template instead of using separate images
What does this MR do?
Makes it possible to use template for badge instead of having multiple files.
Are there points in the code the reviewer needs to double check?
We also have a deprecated badge in controllers/ci/projects_controller.rb
. We decided to leave it until 9.0, so we still have images in public/ci/
until 9.0.
Why was this MR needed?
We are going to implement build coverage badge, and we do not want to store 101 SVG images for each percentage value.
What are the relevant issue numbers?
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added(refactoring) -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together(refactoring)