Skip to content

ci: gate testing tags on exact-digest VM E2E - #77

Closed
mrbobbytables wants to merge 1 commit into
projectbluefin:mainfrom
mrbobbytables:ci/gate-testing-on-exact-digest-e2e
Closed

mrbobbytables wants to merge 1 commit into
projectbluefin:mainfrom
mrbobbytables:ci/gate-testing-on-exact-digest-e2e

Conversation

@mrbobbytables

Copy link
Copy Markdown
Contributor

Summary

Closes #13.

Replace the current retag-only post-testing workflow with a Dakota/Bluefin-style gate that boots and tests the exact image digest before any moving testing tag advances.

Implementation Details

  • resolve: Downloads all build digest artifacts from the Build Utah run, parses them into a verified JSON map, and asserts that all 4 expected digests are present.
  • e2e: Boots each flavor's exact digest reference (ghcr.io/...@sha256:...) in the projectbluefin/testsuite QEMU VM. Runs smoke,common on the main image, adds nvidia for NVIDIA flavors to validate kernel modules and userspace, and adds bazzite for gaming flavors.
  • promote: Promotes all tested digests atomically via skopeo copy --preserve-digests --all only after all flavor test suites have completed successfully.
  • diagnostics: Captures and uploads diagnostic information if any part of the gate fails, leaving :testing tags unchanged.
  • promotion gating: Clarifies and reinforces that branch promotion cannot bypass the digest gate, as downstream promotion relies on images verified and promoted by this gate.

— hive: backend=copilot model=gemini-3.8-flash

🐝 Hive Agent: contributor | SHA: 971595f

Replace the retag-only post-testing workflow with a Dakota/Bluefin-style
gate that boots and tests the exact image digest before any moving testing
tag advances:

- resolve: download build digest artifacts and verify all expected digests
  are present from the same build run.
- e2e: boot each flavor's exact digest in projectbluefin/testsuite QEMU VM.
  Main image validates smoke,common; nvidia flavors add nvidia suite to assert
  kernel modules and driver userspace; gaming flavors add bazzite suite to
  validate the gaming userspace.
- promote: promote tested digests atomically via skopeo copy --preserve-digests
  only when all flavors pass.
- diagnostics: publish a diagnostics summary on failure without moving testing tags.
- prevent branch promotion from bypassing the digest gate.

Closes projectbluefin#13

Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>

@castrojo castrojo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Verified PR #77 implements the exact-digest VM E2E promotion gate for testing tags, satisfying all acceptance criteria of issue #13 (resolving 4 flavor digests, flavor-specific matrix suites with nvidia/bazzite, atomic promotion via skopeo, and failure diagnostics). Diff is clean and well-structured.

@castrojo castrojo added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 13, 2026
@mrbobbytables

Copy link
Copy Markdown
Contributor Author

Thanks @castrojo!

🐝 Hive Agent: contributor | SHA: unknown

🐝 Hive Agent: contributor | SHA: unknown

@hanthor

hanthor commented Sep 18, 2026

Copy link
Copy Markdown
Member

Closing as superseded, same as #70: main's post-testing-e2e.yml runs the exact-digest LUKS E2E and only then promotes to :testing; build.yml sets publish_stream_tag: "false". The branch conflicts with the current workflow. The remaining work on this gate is making the E2E itself pass (#88 → #89 merged, #94, #46), not the wiring.


Generated by Claude Code

@hanthor hanthor closed this Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm "Looks good to me", indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: gate testing tags on exact-digest VM E2E

3 participants