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 Update CI API docs 2016-06-14 14:47:32 +02:00
build_artifacts Fix relative URL 2016-08-04 13:23:13 +03:00
docker Add missing escape at line end 2016-07-22 10:10:53 +00:00
examples use long options for curl examples in API documentation (!5703) 2016-08-09 01:42:50 +02:00
img optimize png images losslessly using zopflipng 2016-06-29 19:22:15 +08:00
permissions Move CI permissions to permissions.md 2016-07-12 17:52:48 +03:00
quick_start Add documentation for test coverage report badge 2016-08-15 15:13:56 +02:00
runners optimize png images losslessly using zopflipng 2016-06-29 19:22:15 +08:00
services Update Docker Hub links. 2016-05-07 13:29:24 +09:00
ssh_keys fix: in recent versions of Docker, the /.dockerinit file doesn't exist; use /.dockerenv instead [ci skip] 2016-04-26 21:41:52 -04:00
triggers use long options for curl examples in API documentation (!5703) 2016-08-09 01:42:50 +02:00
variables Explain CI_PROJECT_NAMESPACE better 2016-07-21 11:33:07 -07:00
yaml The keyword `when` can also take `manual` as a value. 2016-08-18 14:33:34 +00:00
README.md Refactor build artifacts documentation 2016-08-04 13:06:26 +03:00
enable_or_disable_ci.md
environments.md Move Pipelines and Builds definitions to their own page 2016-06-20 15:07:38 -07:00
pipelines.md Update documentation for test coverage report badge 2016-08-18 16:30:43 +02:00