feat: pack with snapcraft - #17
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Snap packaging and CI support so olav can be built/tested as a strictly confined snap and distributed via the Snap Store.
Changes:
- Introduces
snap/snapcraft.yamldefining a strict snap forolav(Go build, plugs, and runtime env for cache/auth). - Adds a GitHub Actions workflow to build the snap and run a basic smoke test (
.github/workflows/snap.yml). - Updates docs and repo hygiene for Snap usage (
README.md,.gitignore) and adds the AGPL-3.0 license text (LICENSE).
Reviewed changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| snap/snapcraft.yaml | New Snapcraft recipe for building olav as a strict snap. |
| .github/workflows/snap.yml | New CI job to build/install the snap and smoke-test registry/cache behavior. |
| README.md | Documents Snap installation, confinement implications, and local snap build/release steps. |
| .gitignore | Ignores locally built .snap artifacts. |
| LICENSE | Adds the full AGPL-3.0 license text to match the declared snap license. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: zhijie-yang <zhijie.yang@canonical.com>
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.
No description provided.