ci: pack snap using craft-actions
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| 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 |
|---|---|---|---|---|
| #438 ci: use snaps output from snapcraft pack action | imagecraft | merged | Merged. Resolved CI artifact upload failure by updating the snapcraft pack action output reference from singular snap to plural snaps. All CI checks passed. | |
| #45 feat: create new snapcraft-pack action | craft-actions | merged | Merged a new snapcraft-pack GitHub Action for automated Snapcraft setup and packaging. Implements upstreamed workflows, cache key improvements, and path variable fixes. Approved by three reviewers, passed all CI checks. README documentation to follow. | |
| #100 feat(snapcraft/pack): node-based rewrite | craft-actions | merged | Merged a node-based rewrite of the snapcraft/pack action. Resolves the Snapcraft 7 default command issue, adds .comp file support, and includes unit tests. Approved by two reviewers with all CI checks passing across multiple platforms. | |
| #4 snap: introduce initial snap packaging (CRAFT-578) | rockcraft | merged | Merged initial snap packaging implementation (CRAFT-578). Approved by one reviewer, passed CI checks, and added 86 lines across three files. | |
| #50 test: test the snapcraft actions | craft-actions | merged | Merged adding tests for snapcraft actions, mirroring charmcraft tests. Approved by two reviewers with all CI checks passing. Updates two files with 89 additions and 1 deletion. | |
| #3995 ci: move to latest snapcore/action-build | snapcraft | merged | Merged update to the latest snapcore/action-build GitHub Action, incorporating an unreleased Docker fix. Approved by a reviewer, passed CI checks, and modified two files with minimal line changes. | |
| #356 fix(ci): correct conditional for snap publication | rockcraft | merged | Merged a fix correcting an invalid conditional in the GitHub Actions workflow for snap publication. The change resolved an unrecognized SNAPCRAFT_STORE_CREDENTIALS variable reference in snap.yaml. Approved by three reviewers and passed CI checks. | |
| #228 packages: run snap operations silently | craft-parts | merged | Merged to fix #218 by running snap subprocesses silently, preventing stdout leakage that conflicts with craft-cli during lifecycle execution. Approved by one reviewer, passed CI, and modified two files (+32/-15 lines). | |
| #49 packages: add snap package support | craft-parts | merged | Merged after implementing snap download and installation for stage and build snaps. Approved by two reviewers, passed CI, and added 1,072 lines across five files. Follows snapcraft conventions with future refactoring planned. | |
| #1916 fix(ci): move actions from snapcore to canonical | charmcraft | merged | Merged. CI actions migrated from snapcore to canonical after snapcore/action-publish lost tags. Approved by two reviewers and applied to a single file. |