Unify common customisation settings among CI badges
CI budges have some common settings:
- key_text
- key_width
They are duplicated in:
- http://gitlab.com/gitlab-org/gitlab/blob/87ae8e98342ab3a71388fc77835e5b59f6dc7bc9/lib/gitlab/ci/badge/pipeline/template.rb#L27-L27
- http://gitlab.com/gitlab-org/gitlab/blob/87ae8e98342ab3a71388fc77835e5b59f6dc7bc9/lib/gitlab/ci/badge/coverage/template.rb#L28-L28
- http://gitlab.com/gitlab-org/gitlab/blob/87ae8e98342ab3a71388fc77835e5b59f6dc7bc9/lib/gitlab/ci/badge/release/template.rb#L18-L18
Implementation guide
Maybe we can move them to the parent class and avoid duplication?
Edited by Vladimir Shushlin