Skip to content

Use badge image template instead of using separate images

Grzegorz Bizon requested to merge feature/svg-badge-template into master

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?

#3714 (closed)

Screenshots (if relevant)

new_build_badge

Does this MR meet the acceptance criteria?

Merge request reports