Snapcraft cloudbuild
Metadata
Current evaluation
Remote building was implemented by merged PR canonical/snapcraft#1121 (commit 834c24bb6), adding cleanbuild --remote for LXD hosts; PR #2500 later added Launchpad remote builds.
Resolution: closed resolved
Reason: Merged PR canonical/snapcraft#1121 resolved LP #1599578 by adding cleanbuild support for a selected LXD remote in commit 834c24bb6. Launchpad-hosted builds were subsequently added by PR canonical/snapcraft#2500.
Evaluated by: mr-cal-bot
No scores available.
Issue body
It would be very beneficial to have the ability to build snaps with an existing server farm or setup you have. It would reduce build time for people who have servers in their basement.
This would be sort of like snapcraft cleanbuild but it would use Juju or Travis or whatever you hook up to it to build the snap. It should detect a Juju install and if not, it goes from there. Maybe a configuration file for this?
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Remote building was implemented by merged PR canonical/snapcraft#1121 (commit 834c24bb6), adding cleanbuild --remote for LXD hosts; PR #2500 later added Launchpad remote builds. | |
| stealth/space-bunny-alpha | — | closed resolved | Cloud builds shipped through Launchpad in canonical/snapcraft#2500 (c933b7890), replacing the proposed Juju, Travis, or private-server-farm integration. | |
| stealth/space-bunny-alpha | — | closed stale | Closed after years without the requested Juju/Travis server-farm integration. Related Launchpad-based remote builds were added in PR #2500 (c933b7890). | |
| qwen/qwen3.6-35b-a3b | — | — | Feature request for snapcraft cloudbuild using external servers or CI systems was closed without implementation or discussion. The proposal remains unaddressed and effectively abandoned due to lack of community engagement. | |
| qwen/qwen3.6-35b-a3b | — | — | Feature request for external server-based snap builds via Juju or CI tools was closed and abandoned. No implementation or discussion occurred. | |
| qwen/qwen3.6-35b-a3b | — | — | Feature request for a snapcraft cloudbuild command to use external server farms or CI tools. Closed with zero comments, indicating the proposal was abandoned due to lack of discussion. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | The proposal to add a customizable cloud build feature to Snapcraft was closed without discussion or implementation. The feature request was abandoned. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#1121
(confidence 100%)
Merged commit 834c24bb6 added cleanbuild --remote support for building on an LXD remote.
-
Related To:
canonical/snapcraft#2500
(confidence 95%)
Merged PR c933b7890 added a remote-build command that submits source trees to Launchpad.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3648 cli: reintroduce remote-build and promote to snapcraft help | snapcraft | merged | Merged PR #3648 (commit 8dc1ac016), restoring remote-build and promote in Snapcraft's main CLI help for Launchpad bug #1943244. | |
| #2500 cli: add remote build | snapcraft | merged | Merged PR #2500 added a CLI remote-build command that submits source trees to Launchpad and retrieves built snaps or error logs. | |
| #2933 remote-build: introduce --launchpad-snapcraft-channel option | snapcraft | closed | Closed unmerged; PR #2938 superseded the CLI-toggle approach by making remote builds default to Snapcraft's stable channel, merged as 534ee1c1f. | |
| #196 feat: remote build service | craft-application | merged | Merged PR #196 in commit e53de201, adding remote build service support and porting the latest remote-build implementation from Snapcraft. | |
| #1896820 Snapcraft can't be run against a local or remote LXD project | snapcraft (launchpad) | open | Support user-selected local and remote LXD projects is still pending; Snapcraft hard-codes its own local LXD project, while remote-instance work is tracked separately. | |
| #4454 Allow snapcraft to use remote lxd instances. | snapcraft | open | Triaged enhancement to build on remote LXD instances from macOS and other non-Linux hosts; implementation remains pending in craft-providers. | |
| #1775911 Only load the project code on the to-build host | snapcraft (launchpad) | closed | Fixed via snapcraft/snapcraft#2222 (commit b2bd6b776), associated with Launchpad #1788667, updating LXD snap injection for remote builds. | |
| #5 Snapcraft should be able to run in clean environment with pbuilder/cowbuilder | snapcraft | closed | Cowbuilder/pbuilder support was abandoned in favor of clean LXC/LXD builds; --use-lxd later merged in canonical/snapcraft#2509 via 067024732. |