Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-02-14 13:00:37 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-02-15 10:31:51 +0300
commitd2d30cff552e08c4b7ec2b5e23acced8eb29cbcb (patch)
tree7d7c8055b57aee85426cd150c6f42dc1b7c0a675 /doc/user/admin_area
parent1452729304393978ec93b712130dff6687db01b9 (diff)
Initial implementation for default artifacts expiration
TODO: Add tests and screenshots
Diffstat (limited to 'doc/user/admin_area')
-rw-r--r--doc/user/admin_area/settings/continuous_integration.md26
1 files changed, 22 insertions, 4 deletions
diff --git a/doc/user/admin_area/settings/continuous_integration.md b/doc/user/admin_area/settings/continuous_integration.md
index 34e2e557f89..0455881ebf2 100644
--- a/doc/user/admin_area/settings/continuous_integration.md
+++ b/doc/user/admin_area/settings/continuous_integration.md
@@ -2,19 +2,37 @@
## Maximum artifacts size
-The maximum size of the [build artifacts][art-yml] can be set in the Admin area
-of your GitLab instance. The value is in MB and the default is 100MB. Note that
-this setting is set for each build.
+The maximum size of the [build artifacts][art-yml] can be set in the Admin
+area of your GitLab instance. The value is in *MB* and the default is 100MB.
+Note that this setting is set for each job.
1. Go to **Admin area > Settings** (`/admin/application_settings`).
![Admin area settings button](img/admin_area_settings_button.png)
-1. Change the value of the maximum artifacts size (in MB):
+1. Change the value of maximum artifacts size (in MB):
![Admin area maximum artifacts size](img/admin_area_maximum_artifacts_size.png)
1. Hit **Save** for the changes to take effect.
+[art-yml]: ../../../administration/build_artifacts.md
+
+## Default artifacts expiration time
+
+The default expiration time of the [build artifacts][art-yml] can be set in
+the Admin area of your GitLab instance. The value is in *days* and the
+default is 30 days. Note that this setting is set for each job. Set it to
+0 as never expired by default.
+
+1. Go to **Admin area > Settings** (`/admin/application_settings`).
+
+ ![Admin area settings button](img/admin_area_settings_button.png)
+
+1. Change the value of default expiration time (in days):
+
+ ![Admin area default artifacts expiration](img/admin_area_default_artifacts_expiration.png)
+
+1. Hit **Save** for the changes to take effect.
[art-yml]: ../../../administration/build_artifacts.md