Skip to content

ci: clean up temporary .otvar-dev directories after each integration test - #334

Merged
willyzha merged 1 commit into
lowRISC:mainfrom
willyzha:ci-cleanup-otvar-dirs
Sep 21, 2026
Merged

willyzha merged 1 commit into
lowRISC:mainfrom
willyzha:ci-cleanup-otvar-dirs

Conversation

@willyzha

Copy link
Copy Markdown
Collaborator

Each integration test step unpacks ~3.4 GB into a separate .otvar-dev* directory. On persistent self-hosted runners, leaving all 8 directories behind accumulates ~27.2 GB of disk usage across runs.

Add an EXIT trap to each integration test step in .github/workflows/main.yml so that each step's temporary OPENTITAN_VAR_DIR directory is removed as soon as the test completes.

…test

Each integration test step unpacks ~3.4 GB into a separate .otvar-dev*
directory. On persistent self-hosted runners, leaving all 8 directories
behind accumulates ~27.2 GB of disk usage across runs.

Add an EXIT trap to each integration test step in .github/workflows/main.yml
so that each step's temporary OPENTITAN_VAR_DIR directory is removed as soon
as the test completes.
@willyzha
willyzha requested a review from clundin25 September 21, 2026 17:47
@willyzha
willyzha merged commit 9620ccb into lowRISC:main Sep 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants