Read track from deployment and visualise canary deployments
What does this MR do?
This adds a proposal described here: https://gitlab.com/gitlab-org/gitlab-ee/issues/1659#note_25879072. Basically support for label track:
.
By default if there's no track:
we assume that it is stable. If there's we select whether this is canary
or stable
. And this data is returned in status.json
for Deployboard:
{
"instances": [
{
"status": "finished",
"tooltip": "production (pod 0) Finished",
"track": "stable",
"stable": true
},
This is based on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10379
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together