Outside a Config File: Storage Usage

Outside a Config File

Storage Usage

Caching

Inspect the output of caching steps in jobs to ensure cache keys are regularly being found. If not, consider changing the cache key to be less specific or use a fallback key.

For caching steps that are taking a long time, consider breaking up the cache into multiple caches. If the job is on the docker executor, consider enabling RAM disk to speed up I/O operations.

Workspaces

Ensure data being added to a workspace is being used downstream and is accessible.

For workspace steps that are taking a long time, analyze the data for anything unnecessary. If the job is on the docker executor, consider enabling RAM disk to speed up I/O operations.

Artifacts

Review how artifacts are used by the team that works in the project and see if adding or removing them would be helpful.

In most cases if artifacts are uploaded to cloud storage, like an s3 bucket, they do not also need to be stored in CircleCI.

Usage Controls

Most organizations can benefit from reducing the default storage retention periods without seeing impact, which can save some credits. The common recommendation is below but should be adjusted based on use case and user feedback.

Setting CircleCI Default Recommendation
Artifacts 30 days 7 days
Workspaces 15 days 3 days
Caches 15 days 7 days

:arrow_forward: Next Step: Outside the Config: Project Settings

:arrow_backward: Previous Step: Outside the Config: Secrets Management

📑 Table of Contents

Self Service Configuration Review Overview

  1. Configuration Review Preparation
  2. Review Each Job for Improvement Opportunities
  3. Review Each Workflow for Improvement Opportunities
  4. High Level Improvement Opportunities
  5. Finalize Review