diff options
author | Rémy Coutable <remy@rymai.me> | 2016-10-13 16:33:19 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-10-13 16:33:19 +0000 |
commit | 9a7afd2a63ae9f9d02a403ecf6d1beea74ac13b7 (patch) | |
tree | e4ed189372f0772d6c45db885e16d4308a9a6a67 /.gitlab-ci.yml | |
parent | 626d5e555a5634abd4ab61cf942c36025aed60f4 (diff) | |
parent | 776cea4c00d883cafc2bc5381f3b61b146a93976 (diff) | |
download | gitlab-ce-9a7afd2a63ae9f9d02a403ecf6d1beea74ac13b7.tar.gz |
Merge branch '22655-deployments-don-t-always-have-keep-around-refs' into 'master'
Handle case where deployment ref no longer exists
## What does this MR do?
In 8.9, we didn't create keep-around refs for deployments. So it's possible that someone created a deployment (say, for testing), and then deleted the branch and all other references to that commit. That commit could then get GCed, and trying to view MRs on 8.11+ will show a 500. See https://gitlab.com/gitlab-org/gitlab-ce/issues/22655#note_16575020 for more details.
## Why was this MR needed?
If someone created a deployment on 8.9, then deleted all references to the commit for that deployment, we will throw an exception when checking if the deployment includes a commit.
Closes #22655.
See merge request !6855
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions