Skip to content

feat: pack with snapcraft - #17

Merged
zhijie-yang merged 2 commits into
mainfrom
build-with-snap
Jul 14, 2026
Merged

feat: pack with snapcraft#17
zhijie-yang merged 2 commits into
mainfrom
build-with-snap

Conversation

@zhijie-yang

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI 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.

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.yaml defining a strict snap for olav (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.

Comment thread .github/workflows/snap.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: zhijie-yang <zhijie.yang@canonical.com>
@zhijie-yang
zhijie-yang merged commit c339e36 into main Jul 14, 2026
9 checks passed
@zhijie-yang
zhijie-yang deleted the build-with-snap branch July 14, 2026 20:02
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.

2 participants