First image garden implementation (Infra) - #2849
Open
fernando79513 wants to merge 12 commits into
Open
fernando79513 wants to merge 12 commits into
fernando79513 wants to merge 12 commits into
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The spread suite configuration is currently inconsistent with the configured SSH user (likely breaking the run) and the smoke task installs snaps in devmode, reducing the validity of “store snap” validation.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds an initial “image-garden + spread” smoke validation pipeline to the Checkbox GitHub Actions CI, intended to exercise freshly published store snaps on Ubuntu Core VMs as part of daily builds.
Changes:
- Introduces a reusable workflow to run spread smoke tests via
zyga/image-garden-actionacross multiple Ubuntu Core versions. - Hooks the new smoke workflow into the existing daily builds pipeline (edge channel).
- Adds a dedicated spread suite (
.github/Image-garden-spread/) including spread configuration, a smoke task, and a launcher config.
File summaries
| File | Description |
|---|---|
.github/workflows/smoke-spread-store.yaml |
New reusable workflow to run spread smoke suite via image-garden across UC18/20/22/24. |
.github/workflows/daily-builds.yml |
Adds a daily job to run the new smoke workflow after snap uploads. |
.github/Image-garden-spread/tests/run-smoke/task.yaml |
Adds the smoke task that downloads and installs the matching Checkbox snap and runs the launcher. |
.github/Image-garden-spread/tests/run-smoke/launcher.conf |
Launcher config to run com.canonical.certification::smoke and emit local reports/artifacts. |
.github/Image-garden-spread/spread.yaml |
Spread backend/system definitions for image-garden-based allocation/discard and suite discovery. |
.github/Image-garden-spread/.gitignore |
Ignores downloaded snaps/assertions and local image-garden/spread state/artifacts. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
fernando79513
force-pushed
the
add-image-garden-spread-test-suite
branch
from
September 9, 2026 13:08
beb7120 to
9340313
Compare
fernando79513
force-pushed
the
add-image-garden-spread-test-suite
branch
from
September 16, 2026 11:11
673f02e to
920d0c4
Compare
fernando79513
marked this pull request as ready for review
September 16, 2026 11:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added the first image garden pipelines into CI.
This PR introduces the first image-garden based workflows.
The workflows will be run after finishing the native snap builds, on demand or when any changes have been introduced to the image garden workflows.
The current tested snaps are:
In the follow-up PRs we will deal with:
Resolved issues
CHECKBOX-2270
Documentation
Tests
The CI pipelines should be enough to test this cange. Once this is in place, we will see if its executed poperly after the native builds step
It's already possible to test this locally, but I think I will create a python tool arround it, since we will probably need it to patch the snap easily:
CHECKBOX_CHANNEL=edge image-garden.spread -vv -artifacts=artifacts garden:ubuntu-core-20:tests/run-smoke