project: use isolated go to build pebble
Metadata
Current evaluation
Merged PR #144 in commit 54f5c2b1, switching Pebble builds to isolated Go so requested Go build-snap versions are honored; fixed rockcraft#128.
Resolution: closed resolved
Reason: PR #144 was approved and merged as commit 54f5c2b1. Its isolated-Go build change fixed canonical/rockcraft#128.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This allows a rockcrafter to install whatever version of go they would required.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #144 in commit 54f5c2b1, switching Pebble builds to isolated Go so requested Go build-snap versions are honored; fixed rockcraft#128. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/rockcraft#144 (54f5c2b1), switching Pebble to isolated Go so the requested Go version is honored; fixes #128. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Replaces system Go with an isolated version in rockcrafter to build pebble, resolving #128 and enabling flexible Go version management. Approved and CI passed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to use isolated Go for building pebble, allowing rockcrafters to specify their own Go version. Resolves #128 by decoupling the build environment from the system Go installation. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/rockcraft#128
(confidence 100%)
The reported incorrect Go version was fixed by merged PR #144.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #128 The `go` build-snap doesn't install the requested go version | rockcraft | closed | Reported that the `go` build-snap always installed Go 1.19 from the implicit `pebble` part, ignoring the requested version. Fixed by PR #144 (commit 54f5c2b1), which builds Pebble with an isolated Go. | |
| #177 project: use pebble snap instead of building | rockcraft | merged | Merged as 042009dc, replacing per-run Pebble source builds with the published snap and staging its binary at /usr/bin/pebble. | |
| #146 project: install pebble's go without aliases setup | rockcraft | merged | Merged into main as commit 154f9f11; Pebble now installs Go without alias setup, avoiding conflicts with a user-installed Go. |