← Back to issue list

travis: add and ship a self-hosting build of snapcraft

View original Github issue

Metadata

Project
snapcraft
Number
#3038
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #3038 (commit 63fb53c30), adding a Travis CI self-hosting build that builds with stable Snapcraft, then rebuilds and ships using the resulting snap.

Resolution: closed resolved

Reason: PR #3038 was merged as commit 63fb53c30. It updated Travis CI to build Snapcraft with stable, then rebuild it using the newly created snap.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged in #3038 (commit 63fb53c30), adding a Travis CI self-hosting build that builds with stable Snapcraft, then rebuilds and ships using the resulting snap.
stealth/space-bunny-alpha — closed resolved Merged #3038 in commit 63fb53c30, adding a Travis self-hosting build that installs stable Snapcraft, then rebuilds the snap with it to catch build-breaking changes.
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.

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 in d45e92c96: Travis now bootstraps Snapcraft’s snap from the stable channel, preventing pull requests from breaking the project’s own build.
79%
#1411 tests: build the snapcraft snap in travis tests snapcraft merged Merged #1411 via commit 92c1e43b1, adding Travis coverage that builds the Snapcraft snap after LXD test infrastructure landed in #1415.
76%
#2217 Travis test snapcraft merged Merged in snapcraft#2217 via commit 281defaef, improving Travis test speed and simplifying CI across 26 files.
73%
#2900 ci: publish the CI built snap to the Snap Store snapcraft merged Merged PR #2900 as commit 2aadaf25e, publishing Travis CI-built snaps to the Snap Store and validating both supported publishing scenarios.
71%
#2899 ci: publish the CI built snap to the Snap Store snapcraft closed Closed as a duplicate of #2900, which merged as 2aadaf25e to publish Travis CI-built PR snaps to edge/pr-$TRAVIS_PULL_REQUEST.
70%