ci: pack snap using craft-actions
Metadata
Current evaluation
Merged in commit 3f26a09 via #307, replacing action-build with canonical/craft-actions' Snapcraft pack action.
Resolution: closed resolved
Reason: PR #307 was merged into the main branch as commit 3f26a09, implementing the CI migration to the craft-actions Snapcraft pack action.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This switches us from using action-build to the craft-actions snapcraft pack action.
Note that the publish-to-branch snap also builds with snapcraft edge.
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/imagecraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [ ] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in commit 3f26a09 via #307, replacing action-build with canonical/craft-actions' Snapcraft pack action. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #307 as commit 3f26a09, replacing action-build with the craft-actions snapcraft pack action for Snap builds in CI. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #307 (commit 3f26a09), replacing action-build with the craft-actions snapcraft pack action for CI. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/imagecraft#307, replacing action-build with the craft-actions snapcraft pack action in CI. The publish-to-branch snap now also builds with snapcraft edge. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #307 (3f26a09), replacing action-build with craft-actions for snap packaging; publish-to-branch also builds with snapcraft edge. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Updated CI pipeline to replace action-build with the craft-actions snapcraft pack action. Approved by two reviewers and passed CI checks. The change updates a single workflow file. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. CI workflow updated to replace action-build with the craft-actions snapcraft pack action. The publish-to-branch snap now builds using snapcraft edge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #45 feat: create new snapcraft-pack action | craft-actions | merged | Merged as commit 8756708, adding a snapcraft/pack action modeled on charmcraft/pack, with shared common/ workflows, working `path` input, and snap/ dir added to the cache key. All CI checks passed; docs followed in #46. | |
| #438 ci: use snaps output from snapcraft pack action | imagecraft | merged | Merged #438 to use the snapcraft pack action's plural `snaps` output, preventing empty artifact paths and restoring snap upload and publishing. | |
| #100 feat(snapcraft/pack): node-based rewrite | craft-actions | merged | Merged #100 (CRAFT-5204): rewrote the snapcraft/pack action in Node, fixing Snapcraft 7 default-command handling, adding .comp output support and unit tests. Approved by 2 reviewers, all CI jobs green. | |
| #6367 docs: add a "pack a Pro snap" how-to | snapcraft | merged | Merged #6367 (CRAFT-5236), adding the “Pack a Pro snap” how-to after its craft-application#1144 documentation dependency landed. | |
| #3639 commands: add pack command and set it as default (CRAFT-762) | snapcraft | merged | Merged PR #3639 added the pack command and made it the default for creating a snap package. Landed via merge commit 2cdb81ed4. | |
| #1782774 Add packing API | snapcraft (launchpad) | closed | Packing API work was resolved by LP #1782780 and canonical/snapcraft PR #2225, merged as commit 16ef9d3cf. | |
| #1158 packaging: snapcraft as a snap | snapcraft | merged | Merged initial self-packaging support for building Snapcraft as a snap (#1158) in commit 4136ab302, addressing Launchpad #1666908. | |
| #160 ci: move to latest snapcore/action-build | rockcraft | merged | Merged as bcfecb26, updating CI to the latest snapcore/action-build to fix Docker/LXD incompatibilities; mirrors canonical/snapcraft#3995. | |
| #4797 refactor: change PackCommand parent | snapcraft | merged | PR #4797 merged as commit b6f464c78, reparenting snapcraft's PackCommand onto craft-application's PackCommand, deleting ~23 lines of duplicated code enabled by craft-application#340/#341. | |
| #3173 cli: use snap pack instead of mksquashfs | snapcraft | merged | Merged in snapcore/snapcraft#3173 (63bc74cba), replacing direct mksquashfs packaging with snap pack and removing the obsolete skeleton-check flow. |