travis: add and ship a self-hosting build of snapcraft
Metadata
Current evaluation
Merged a PR adding a self-hosting snapcraft build to Travis CI. Approved by one reviewer and passing CI, the change prevents future PRs from breaking the snapcraft build by rebuilding the snap from the newly created version.
Suggested action: —
No scores available.
Issue body
Self-hosting snapcraft as part of the PR will help prevent a PR from
breaking the snapcraft build for subsequent builds. Snapcraft is an
excellent test case anyways.
Do this by first building the snap from stable snap, then rebuild
snapcraft using the newly created snap.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a PR adding a self-hosting snapcraft build to Travis CI. Approved by one reviewer and passing CI, the change prevents future PRs from breaking the snapcraft build by rebuilding the snap from the newly created version. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a Travis CI configuration that implements a self-hosting build for snapcraft. The pipeline builds snapcraft from the stable snap and rebuilds it using the newly created snap to prevent build regressions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged Travis CI configuration adding a self-hosting snapcraft build. The pipeline builds snapcraft from stable, then rebuilds it using the new snap to prevent future PRs from breaking the build process. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3036 travis: use stable channel for building snapcraft snap | snapcraft | merged | Merged a Travis CI config change to build the snapcraft snap from the stable channel. Approved by one reviewer, this update bootstraps the build process to prevent future PRs from breaking snapcraft's CI pipeline. | |
| #1411 tests: build the snapcraft snap in travis tests | snapcraft | merged | Merged after approval. Added Travis CI configuration to build the snapcraft snap, requiring dependency PR #1415. Reviewer recommended validating changes with spread using the lxd backend. | |
| #1331 integrations: use the snapcore/snapcraft docker image in travis | snapcraft | merged | Merged the Travis CI configuration update to use the snapcore/snapcraft Docker image. Reviewers approved, concluding that manual migration for existing projects is acceptable despite lacking an automated refresh command. |