- Notifications
You must be signed in to change notification settings - Fork165
Classic disk space rewrite#531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -218,16 +218,18 @@ You can define multiple external resources in a single pipeline. | ||
| - Medium (recommended 3-4 steps) | ||
| - Large (recommended 5-6 steps) | ||
| #### Set minimum disk space for a pipeline build | ||
| To speed up builds and improve performance, Codefresh caches different types of data during pipeline execution for reuse across builds. Image-caching is one example of cached data, where Codefresh pulls the required images during the first build and caches it for reuse in future builds. For more info, see [Pipeline caching]({{site.baseurl}}docs/configure-ci-cd-pipeline/pipeline-caching). | ||
| Because a portion of the disk space is already utilized by cache, a build can run out of disk space and fail with the 'no space left on device' error. | ||
| To prevent out-of-space scenarios that lead tofailed builds, you can set theminimumdisk spaceyou needfor thepipeline'sbuild volume. Defining the minimum disk space ensures that Codefresh allocatesthedesignated disk space at the start of thespecific build without cached data. | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Its not correct that youll start without cache at all. ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Thank you Itai | ||
| The disk space set for the pipeline is inherited by all the builds run for the pipeline. | ||
| You can also configure the disk space for a [specific trigger]({{site.baseurl}}/docs/configure-ci-cd-pipeline/triggers/git-triggers/#set-minimum-disk-space-for-build-volume-by-trigger) used by the pipeline or for a specific run, and override what's set for the pipeline. | ||
| 1. Select the pipeline for which to set theminimumdisk space. | ||
| 1. Select **Settings**, and then **Runtime**. | ||
| 1. Enable **Set minimum required disk space**, and either retain the default displayed or change as needed. | ||
| {% include | ||
| image.html | ||