linuxboot / linuxboot/heads-wiki

Document Circleci cache uniqueness /renewal

Open
#207 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
96
Forks
58
Avg merge
1d 16h
Merged PRs (30d)
11

Description

> @gaspar-ilom i don't make sense of the circleci error, as if cache was partial at https://app.circleci.com/pipelines/github/gaspar-ilom/heads/14/workflows/b282ff7a-03b4-43af-aed1-369e0454906f/jobs/709

> This would need to build without cache to succeed if local builds succeed.

> To do this, under Circleci project setting, variable, change/add CACHE_VERSION with unique value (I do datestamp) or change variable name under Circleci config, ie https://github.com/linuxboot/heads/blob/aaeb63df78f8563c46d140f1dcdb51d380392048/.circleci/config.yml#L82

_Originally posted by @tlaurion in https://github.com/linuxboot/heads/pull/2007#issuecomment-3427393908_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing Heads wiki structure and the referenced .circleci/config.yml line 82, then document how CACHE_VERSION or the cache variable name controls CircleCI cache uniqueness and renewal. Include the cache-bypass troubleshooting context and make the documentation explain what value to change and how to verify a successful uncached build.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.