gitlab-org--gitlab-foss/doc/ci
Douwe Maan d2f4c3ca5d Merge branch 'fix/improve-test-coverage-badge-pipelines' into 'master'
Render coverage badge using latest successful pipeline

## What does this MR do?

This MR make test coverage badge to report value for the latest successful pipeline, instead of the latest one, regardless the status.

Latest pipeline is often running, which makes coverage report inaccurate. Latest pipeline can be also the failed one, which may mean that not all stages got processed, therefore coverage report can be inaccurate as well.

This also improves coverage badge performance because it is not necessary to touch repository to get recent SHA on the branch.

## Why was this MR needed?

See #21013

## What are the relevant issue numbers?

Closes #21013

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5862
2016-08-19 15:22:54 +00:00
..
api
build_artifacts
docker
examples use long options for curl examples in API documentation (!5703) 2016-08-09 01:42:50 +02:00
img
permissions
quick_start Add documentation for test coverage report badge 2016-08-15 15:13:56 +02:00
runners
services
ssh_keys
triggers use long options for curl examples in API documentation (!5703) 2016-08-09 01:42:50 +02:00
variables
yaml The keyword `when` can also take `manual` as a value. 2016-08-18 14:33:34 +00:00
README.md
enable_or_disable_ci.md
environments.md
pipelines.md Update documentation for test coverage report badge 2016-08-18 16:30:43 +02:00