summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCindy Pallares 🦉 <cindy@gitlab.com>2018-02-02 19:00:50 +0000
committerCindy Pallares <cindy@gitlab.com>2018-02-09 12:57:51 -0500
commitd0e5acd9ba12dce4918ab21e52e515188a87abf7 (patch)
treea65f2c5514b5a96e5166efc77c20cab5706fb504
parentb89fd7dd5b7e035e2576c0b18ee2670bf57433c2 (diff)
downloadgitlab-ce-docs/add-ci-trace-to-settings-and-configs.tar.gz
Add CI job trace default location to docsdocs/add-ci-trace-to-settings-and-configs
-rw-r--r--doc/user/admin_area/settings/continuous_integration.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/user/admin_area/settings/continuous_integration.md b/doc/user/admin_area/settings/continuous_integration.md
index eb6f915f3f4..c02aea70886 100644
--- a/doc/user/admin_area/settings/continuous_integration.md
+++ b/doc/user/admin_area/settings/continuous_integration.md
@@ -36,3 +36,20 @@ expiration.
[art-yml]: ../../../administration/job_artifacts.md
[duration-syntax]: ../../../ci/yaml/README.md#artifactsexpire_in
+
+## Configuring job trace location
+
+By default all job traces are saved to `/var/opt/gitlab/gitlab-ci/builds`. The
+job logs are organized by the year and month (for example, `2017_03`) and then
+by project ID.
+
+Currently, there isn't a way to automatically expire old build logs, but it's
+safe to remove these if they're taking up too much space. If you remove these
+logs manually, the job output in the UI will be empty.
+
+To change the location of these logs you can change the following value
+in your `gitlab.rb`:
+
+```
+gitlab_ci['builds_directory'] = '/mnt/to/gitlab-ci/builds'
+```