Skip to content

Use generated images in integration test#390

Merged
stepchowfun merged 1 commit into
mainfrom
use-built-images-in-integration-test
Jul 12, 2026
Merged

Use generated images in integration test#390
stepchowfun merged 1 commit into
mainfrom
use-built-images-in-integration-test

Conversation

@stepchowfun

@stepchowfun stepchowfun commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Replace the Alpine-based integration-test images with locally generated scratch images that each contain a unique 100 MiB payload. This avoids implicit pulls and makes the eviction threshold derive from Docker’s own image accounting instead of a fixed guess.

Status: Ready

Fixes: N/A

Details:

  • Builds the protected and evictable images before Docuum starts, then computes the threshold from docker system df plus a 200 MB margin.
  • Builds the newest image after the event subscription is live so it crosses the computed threshold and evicts only the older non-protected image.
  • Leaves Docker’s default builder behavior intact; the larger margin absorbs BuildKit provenance/cache accounting.

Validation:

  • toast lint
  • toast validate_release

@stepchowfun stepchowfun force-pushed the use-built-images-in-integration-test branch 2 times, most recently from cfa9d4a to 4ecd5f3 Compare July 12, 2026 23:12
@stepchowfun stepchowfun force-pushed the use-built-images-in-integration-test branch from 4ecd5f3 to 81b39e5 Compare July 12, 2026 23:30
@stepchowfun stepchowfun merged commit a9478a4 into main Jul 12, 2026
6 checks passed
@stepchowfun stepchowfun deleted the use-built-images-in-integration-test branch July 12, 2026 23:37
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.

1 participant