Commit c8d00736 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'eread/combine-pipeline-artifacts-deletion-information' into 'master'

Combine and refine pipeline artifacts deletion information

See merge request gitlab-org/gitlab!73520
parents 5588ba8b 9775f79f
...@@ -7,20 +7,24 @@ type: reference, howto ...@@ -7,20 +7,24 @@ type: reference, howto
# Pipeline artifacts **(FREE)** # Pipeline artifacts **(FREE)**
Pipeline artifacts are files created by GitLab after a pipeline finishes. These are different than [job artifacts](job_artifacts.md) because they are not explicitly managed by the `.gitlab-ci.yml` definitions. Pipeline artifacts are files created by GitLab after a pipeline finishes. Pipeline artifacts are
different to [job artifacts](job_artifacts.md) because they are not explicitly managed by
`.gitlab-ci.yml` definitions.
Pipeline artifacts are used by the [test coverage visualization feature](../../user/project/merge_requests/test_coverage_visualization.md) to collect coverage information. It uses the [`artifacts: reports`](../yaml/index.md#artifactsreports) CI/CD keyword. Pipeline artifacts are used by the [test coverage visualization feature](../../user/project/merge_requests/test_coverage_visualization.md)
to collect coverage information. It uses the [`artifacts: reports`](../yaml/index.md#artifactsreports) CI/CD keyword.
## Storage ## Storage
Pipeline artifacts are saved to disk or object storage. They count towards a project's [storage usage quota](../../user/usage_quotas.md#storage-usage-quota). The **Artifacts** on the Usage Quotas page is the sum of all job artifacts and pipeline artifacts. Pipeline artifacts are saved to disk or object storage. They count towards a project's [storage usage quota](../../user/usage_quotas.md#storage-usage-quota).
The **Artifacts** on the Usage Quotas page is the sum of all job artifacts and pipeline artifacts.
## When pipeline artifacts are deleted ## When pipeline artifacts are deleted
Pipeline artifacts are deleted either: Pipeline artifacts from:
- Seven days after creation. - The latest pipeline are kept forever.
- After another pipeline runs successfully, if they are from the most recent successful - Pipelines superseded by a newer pipeline are deleted seven days after their creation date.
pipeline.
This deletion may take up to two days. It can take up to two days for GitLab to delete pipeline artifacts from when they are due to be
deleted.
...@@ -2872,10 +2872,9 @@ they expire and are deleted. The `expire_in` setting does not affect: ...@@ -2872,10 +2872,9 @@ they expire and are deleted. The `expire_in` setting does not affect:
- Artifacts from the latest job, unless keeping the latest job artifacts is: - Artifacts from the latest job, unless keeping the latest job artifacts is:
- [Disabled at the project level](../pipelines/job_artifacts.md#keep-artifacts-from-most-recent-successful-jobs). - [Disabled at the project level](../pipelines/job_artifacts.md#keep-artifacts-from-most-recent-successful-jobs).
- [Disabled instance-wide](../../user/admin_area/settings/continuous_integration.md#keep-the-latest-artifacts-for-all-jobs-in-the-latest-successful-pipelines). - [Disabled instance-wide](../../user/admin_area/settings/continuous_integration.md#keep-the-latest-artifacts-for-all-jobs-in-the-latest-successful-pipelines).
- [Pipeline artifacts](../pipelines/pipeline_artifacts.md). It's not possible to specify an - [Pipeline artifacts](../pipelines/pipeline_artifacts.md). You can't specify an expiration date for
expiration date for these: pipeline artifacts. See [When pipeline artifacts are deleted](../pipelines/pipeline_artifacts.md#when-pipeline-artifacts-are-deleted)
- Pipeline artifacts from the latest pipeline are kept forever. for more information.
- Other pipeline artifacts are erased after one week.
The value of `expire_in` is an elapsed time in seconds, unless a unit is provided. Valid values The value of `expire_in` is an elapsed time in seconds, unless a unit is provided. Valid values
include: include:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment