From ca823065a905f8c19b2003a67e79831ba1ceff2e Mon Sep 17 00:00:00 2001 From: Benjamin Montgomery Date: Sat, 9 Apr 2016 20:51:15 +0000 Subject: [PATCH 1/3] actually enable artifacts --- doc/ci/build_artifacts/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ci/build_artifacts/README.md b/doc/ci/build_artifacts/README.md index 71db5aa5dc8..bd26da2af6d 100644 --- a/doc/ci/build_artifacts/README.md +++ b/doc/ci/build_artifacts/README.md @@ -31,7 +31,7 @@ To disable it site-wide, follow the steps below. 1. Edit `/etc/gitlab/gitlab.rb` and add the following line: ```ruby - gitlab_rails['artifacts_enabled'] = false + gitlab_rails['artifacts_enabled'] = true ``` 1. Save the file and [reconfigure GitLab][] for the changes to take effect. @@ -44,7 +44,7 @@ To disable it site-wide, follow the steps below. ```yaml artifacts: - enabled: false + enabled: true ``` 1. Save the file and [restart GitLab][] for the changes to take effect. From 1e99e56202c0c96d4a70fba95e04b4f41d24327a Mon Sep 17 00:00:00 2001 From: Benjamin Montgomery Date: Sun, 10 Apr 2016 21:14:40 +0000 Subject: [PATCH 2/3] Make the purpose of artifact config options clearer --- doc/ci/build_artifacts/README.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/doc/ci/build_artifacts/README.md b/doc/ci/build_artifacts/README.md index bd26da2af6d..a21cd129862 100644 --- a/doc/ci/build_artifacts/README.md +++ b/doc/ci/build_artifacts/README.md @@ -1,7 +1,8 @@ # Introduction to build artifacts Artifacts is a list of files and directories which are attached to a build -after it completes successfully. +after it completes successfully. Artificats is enabled by default. _If you are searching for ways to use artifacts, jump to +[Defining artifacts in `.gitlab-ci.yml`](#defining-artifacts-in-gitlab-ciyml)._ Since GitLab 8.2 and [GitLab Runner] 0.7.0, build artifacts that are created by GitLab Runner are uploaded to GitLab and are downloadable as a single archive @@ -16,13 +17,9 @@ The artifacts browser will be available only for new artifacts that are sent to GitLab using GitLab Runner version 1.0 and up. It will not be possible to browse old artifacts already uploaded to GitLab. -## Enabling build artifacts +## Disabling build artifacts -_If you are searching for ways to use artifacts, jump to -[Defining artifacts in `.gitlab-ci.yml`](#defining-artifacts-in-gitlab-ciyml)._ - -The artifacts feature is enabled by default in all GitLab installations. -To disable it site-wide, follow the steps below. +To disable artifacts site-wide, follow the steps below. --- @@ -31,7 +28,7 @@ To disable it site-wide, follow the steps below. 1. Edit `/etc/gitlab/gitlab.rb` and add the following line: ```ruby - gitlab_rails['artifacts_enabled'] = true + gitlab_rails['artifacts_enabled'] = false ``` 1. Save the file and [reconfigure GitLab][] for the changes to take effect. @@ -44,7 +41,7 @@ To disable it site-wide, follow the steps below. ```yaml artifacts: - enabled: true + enabled: false ``` 1. Save the file and [restart GitLab][] for the changes to take effect. From 84ff30a6b2b522e35d608df311c58c180acb114e Mon Sep 17 00:00:00 2001 From: Benjamin Montgomery Date: Sun, 10 Apr 2016 21:16:06 +0000 Subject: [PATCH 3/3] fix typo --- doc/ci/build_artifacts/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/ci/build_artifacts/README.md b/doc/ci/build_artifacts/README.md index a21cd129862..9553bb11e9d 100644 --- a/doc/ci/build_artifacts/README.md +++ b/doc/ci/build_artifacts/README.md @@ -1,7 +1,9 @@ # Introduction to build artifacts Artifacts is a list of files and directories which are attached to a build -after it completes successfully. Artificats is enabled by default. _If you are searching for ways to use artifacts, jump to +after it completes successfully. This feature is enabled by default in all GitLab installations. + +_If you are searching for ways to use artifacts, jump to [Defining artifacts in `.gitlab-ci.yml`](#defining-artifacts-in-gitlab-ciyml)._ Since GitLab 8.2 and [GitLab Runner] 0.7.0, build artifacts that are created by