← Back to issue list

cli: add remote build

View original Github issue

Metadata

Project
snapcraft
Number
#2500
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2500 added a CLI remote-build command that submits source trees to Launchpad and retrieves built snaps or error logs.

Resolution: closed resolved

Reason: PR #2500 was approved and merged as commit c933b7890, introducing Launchpad-based remote builds and artifact or log retrieval.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add the capability of dispatching a source tree to be built remotely in Launchpad. After the build is complete, retrieve the resulting snap packages or the log files in case of error. LP: #1805220 Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2500 added a CLI remote-build command that submits source trees to Launchpad and retrieves built snaps or error logs.
stealth/space-bunny-alpha — closed resolved Merged PR #2500 added Launchpad-backed remote builds, submitting source trees and retrieving built snaps or failure logs (commit c933b7890).
stealth/space-bunny-alpha — closed resolved Merged PR #2500 (commit c933b7890) added `snapcraft remote-build`, dispatching source trees to Launchpad and fetching built snaps or error logs. Refined by follow-ups #2564, #2567, #2574 and later, before legacy remote builder removal in #5994.
stealth/space-bunny-alpha — closed resolved Merged PR #2500 added CLI remote builds via Launchpad, submitting source trees and retrieving built snaps or error logs (commit c933b7890).
qwen/qwen3.6-35b-a3b — — Merged. Adds remote build capability to Launchpad, dispatching source trees for remote compilation and retrieving resulting snap packages or logs. Approved by reviewers, passed CI, and integrated despite a minor test coverage decrease.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Adds CLI remote build capability for Launchpad, dispatching source trees for remote compilation and retrieving resulting snaps or error logs. Codecov noted a minor coverage decrease. A maintainer highlighted a required GIT_PYTHON_GIT_EXECUTABLE configuration.

Update history

No update history recorded yet.

Related work

  • Related To: snapcore/snapcraft#2567 (confidence 95%)

    Follow-up PR added a warning and confirmation before sending source data to remote builders.

  • Related To: snapcore/snapcraft#2574 (confidence 95%)

    Follow-up PR added retrieval of remote build log files.

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.
75%
#1599578 Snapcraft cloudbuild snapcraft (launchpad) closed 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.
72%
#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.
71%
#3554 cli: add support for parallel remote builds snapcraft merged Merged #3554 in commit c26fc107a, adding project-state hashes and selectable build IDs so multiple remote builds can run and be tracked in parallel.
71%
#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.
70%