From d9dd606c3a1e113fa1eeb8619cfd3146c6628343 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Mon, 21 Aug 2017 15:50:11 -0600 Subject: [PATCH 1/2] Test new .decent_ci-limits.yaml configuration --- .decent_ci-limits.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .decent_ci-limits.yaml diff --git a/.decent_ci-limits.yaml b/.decent_ci-limits.yaml new file mode 100644 index 000000000..ee8f08a81 --- /dev/null +++ b/.decent_ci-limits.yaml @@ -0,0 +1,32 @@ +# configurable limits for your repository build history + +# this file is loaded from the trusted branch for your repository, which +# can be configured on the command line to ci.rb +# or defaults to the "default branch" configured by github + +# Note that there is a failsafe limit that comes in +# if any individual folder is approaching 1000 files +# to take care of limits imposed by github + +# Note that these values represent the defaults + +# After this number is hit the subsequent limits come into play +history_total_file_limit: 1250 + +# List of branches that are to be treated as "long running branches" +# which attempt to maintain a longer history +history_long_running_branch_names: + - develop + - master + +# The maximum number of history files to leave (per configuration) +# in a particular feature branch folder when the +# "history_total_file_limit" number is reached +history_feature_branch_file_limit: 10 + +# The maximum number of history files to leave (per configuration) +# in a particular long running branch folder when the +# "history_total_file_limit" number is reached +history_long_running_branch_file_limit: 20 + + From 335bd00540d8c09bab70bd74221ad707edb44d39 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Mon, 21 Aug 2017 16:12:52 -0600 Subject: [PATCH 2/2] Tweak limits for testing --- .decent_ci-limits.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.decent_ci-limits.yaml b/.decent_ci-limits.yaml index ee8f08a81..99eb5285c 100644 --- a/.decent_ci-limits.yaml +++ b/.decent_ci-limits.yaml @@ -11,7 +11,7 @@ # Note that these values represent the defaults # After this number is hit the subsequent limits come into play -history_total_file_limit: 1250 +history_total_file_limit: 1240 # List of branches that are to be treated as "long running branches" # which attempt to maintain a longer history