build providers: remove use of cloud-init
Metadata
Current evaluation
Merged in canonical/snapcraft#2940 via commit 9daee0bba, replacing cloud-init provisioning with _run/_push_file operations and dedicated first-run setup.
Resolution: closed resolved
Reason: PR #2940 was approved and merged as commit 9daee0bba, implementing the build-provider asset provisioning and removing cloud-init use.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Make use of other build provider functionality to have the necessary
assets on the build environment (i.e.; ._run and ._push_file).
The initial "first run" setup has been moved to its own method.
Signed-off-by: Sergio Schvezov <sergio.schvezov@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 canonical/snapcraft#2940 via commit 9daee0bba, replacing cloud-init provisioning with _run/_push_file operations and dedicated first-run setup. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2940 via commit 9daee0bba, replacing cloud-init with _run and _push_file provisioning and separating initial first-run setup. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2940 in commit 9daee0bba, replacing cloud-init in build providers with _run and _push_file and moving initial first-run setup into a separate method. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes removing cloud-init from build providers. Refactored to use _run and _push_file methods, isolating initial setup. Approved by reviewer, passed CI, and updated six files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes removing cloud-init from build providers. Refactored to use _run and _push_file methods, moving initial setup to a dedicated function. Approved after achieving 100% diff coverage and maintainer sign-off. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2225 build providers: environment setup for projects | snapcraft | merged | Merged as snapcraft#2225 in commit 16ef9d3cf, adding Base Provider cloud-data setup, re-execution-aware project loading, and Multipass integration. | |
| #2507 build providers: improve handling in snap logic | snapcraft | merged | Merged snapcraft#2507 as commit 841b41fa3, improving build-provider snap logic, removing unnecessary sudo calls, and silencing refresh-hold noise. |