ci(snap): add snap release pipeline#1600
Merged
Merged
Conversation
Add a snap-package.yml reusable workflow for building snaps on amd64 and arm64, and wire it into release-dev.yml and release-tag.yml. The release canary ubuntu-snap job downloads the snap from release-dev artifacts using actions/download-artifact with run-id instead of fetching it via an unauthenticated GitHub API call. This is consistent with how all other package types (deb, rpm, etc.) are consumed across the tree and avoids rate-limiting issues. The snap job only runs on workflow_run triggers (not dispatch) since artifacts are only available from a prior release-dev run. The docker snap dependency (sudo snap install docker) is required before installing the openshell snap which plugs the docker interface. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
|
🌿 Preview your docs: https://nvidia-preview-pr-1600.docs.buildwithfern.com/openshell |
TaylorMutch
approved these changes
May 27, 2026
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.
Summary
Add the snap release packaging path to Release Dev and Release Tag, including Snapcraft build/publish and release-canary artifact installation.
Supersedes #1494 with some small changes to fix up permissions.
Followup work includes better reuse of build artifacts.
Related Issue
None.
Changes
Testing
mise run pre-commitpassesmise run pre-commitNotes:
mise run pre-commitfailed before PR creation becauserust:lintreports an unrelated unusedwarnimport incrates/openshell-sandbox/src/process.rs, andpython:protohit a transient.venvdependency race while another pre-commit task recreated the environment.Checklist
Note: the current branch contains a
wipcommit that should be cleaned up before merge.