From ef8dbfcae1e686ffe52de862eba95d4cae8f941e Mon Sep 17 00:00:00 2001 From: Katrin Leinweber <724395-katrinleinweber@users.noreply.gitlab.com> Date: Thu, 24 Sep 2020 08:35:22 +0000 Subject: [PATCH 1/2] Note that this feature creates dangling commits --- .../pipelines_for_merged_results/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/ci/merge_request_pipelines/pipelines_for_merged_results/index.md b/doc/ci/merge_request_pipelines/pipelines_for_merged_results/index.md index dd08f9248f61fa..b1f0b9838ecaaa 100644 --- a/doc/ci/merge_request_pipelines/pipelines_for_merged_results/index.md +++ b/doc/ci/merge_request_pipelines/pipelines_for_merged_results/index.md @@ -129,3 +129,10 @@ which indicates that the checkout-SHA is not found in the merge ref. This behavior was improved at GitLab 12.4 by introducing [Persistent pipeline refs](../../troubleshooting.md#fatal-reference-is-not-a-tree-error). You should be able to create pipelines at any timings without concerning the error. + +### Dangling commits + +These are created by Pipelines for Merged Results in repositories that use this feature, +but should get cleaned up by [automatic housekeeping](../../../administration/housekeeping.html). +If they nevertheless accumulate, use the the Rails console to +[garbage-collect them](../../../administration/raketasks/check.md#dangling-commits). -- GitLab From 164cda6d3da1775fe0e7008594b03734a3f5edba Mon Sep 17 00:00:00 2001 From: Katrin Leinweber <724395-katrinleinweber@users.noreply.gitlab.com> Date: Thu, 24 Sep 2020 08:38:36 +0000 Subject: [PATCH 2/2] Link to Rails-based garbage collection --- doc/administration/housekeeping.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/administration/housekeeping.md b/doc/administration/housekeeping.md index 4110f8b764681c..42ca5946e174ed 100644 --- a/doc/administration/housekeeping.md +++ b/doc/administration/housekeeping.md @@ -31,3 +31,5 @@ the `pushes_since_gc` value is 200 a `git gc` will be run. You can find this option under your project's **Settings > General > Advanced**. ![Housekeeping settings](img/housekeeping_settings.png) + +Manual housekeeping is also available from the [Rails console](raketasks/check.md#dangling-commits). \ No newline at end of file -- GitLab