diff options
author | Rémy Coutable <remy@rymai.me> | 2016-09-21 12:04:07 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-09-21 12:04:07 +0000 |
commit | 786367032556711b9ad80e83c1973cd557962df2 (patch) | |
tree | c612ebd13ed3068ad83217d2613e232203cfa381 /CHANGELOG | |
parent | fb7927db2a38593dae9d50b4979a59cf10256aea (diff) | |
parent | 9410599391edfb1b16472fbfaad362bb4e14eb55 (diff) | |
download | gitlab-ce-786367032556711b9ad80e83c1973cd557962df2.tar.gz |
Merge branch 'limit-number-of-shown-environments' into 'master'
Limit number of shown environments
## What does this MR do?
This MR limits in context of Merge Request a list of shown environments. Previously we would show all environments containing the SHA of the head commit of Merge Request. However, with introducing of dynamically created environments this lead to a cases that we would show multiple review apps, for different branches, because these branches would contain a new questioned commit.
This MR changes what environments we test against presence of the commit, to:
1. We look for environments with deployments to source_branch of source_project: used for deployments to per-branch environments,
2. We look for environments with deployments to target_branch of target_project: used for deployments to staging / production environments,
3. We look for environments with deployments for tags on target_project: used for staging / production environments.
## Why was this MR needed?
To improve a list of returned environments when we introduced ability to create dynamic environments for review apps:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6323
See merge request !6438
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 353ab284ccb..34edeafd4d9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -24,6 +24,7 @@ v 8.12.0 (unreleased) - Cycle analytics (first iteration) !5986 - Remove vendor prefixes for linear-gradient CSS (ClemMakesApps) - Move pushes_since_gc from the database to Redis + - Limit number of shown environments on Merge Request: show only environments for target_branch, source_branch and tags - Add font color contrast to external label in admin area (ClemMakesApps) - Change logo animation to CSS (ClemMakesApps) - Instructions for enabling Git packfile bitmaps !6104 |