Add support for the Pebble entrypoint
Metadata
Current evaluation
Merged #205 in commit ca48ac3d, adding Pebble services, using pebble enter as the OCI entrypoint, deprecating entrypoint/cmd, and updating docs and tests.
Resolution: closed resolved
Reason: PR #205 was merged as commit ca48ac3d. The change added service validation, fixed OCI entrypoint behavior, rejected deprecated entrypoint/cmd fields, and updated documentation and spread tests.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Needs https://github.com/canonical/pebble/pull/188.
~~**TODO:**~~
~~Once the above PRs are merged:~~
~~- re-run the tests~~
~~- update the Tutorials and How-to guides~~
In this PR:
- the `services` field is added to the Rockcraft project, with a lightweight validation according to the spec from https://github.com/canonical/pebble#layer-specification
- the OCI entrypoint is fixed to always be `pebble enter`
- the OCI cmd is `null`
- the implicit `pebble` part now also creates the `$PEBBLE` path, where the Pebble layer is later be written
- `entrypoint` and `cmd` are kept, but marked as deprecated, printing an error message and exiting the build whenever they are used
- the Reference docs are updated
- updated how-to guides and tutorial
- adjusted all spread tests
- [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 #205 in commit ca48ac3d, adding Pebble services, using pebble enter as the OCI entrypoint, deprecating entrypoint/cmd, and updating docs and tests. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged Pebble support via rockcraft#205 (commit ca48ac3d), adding services and layers, making “pebble enter” the OCI entrypoint, and deprecating entrypoint/cmd. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/rockcraft#205 via ca48ac3d, adding Pebble services, using pebble enter as the OCI entrypoint, rejecting legacy fields, and updating docs/tests. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #205 (ca48ac3d), adding Pebble services support, using pebble enter as the OCI entrypoint, rejecting deprecated entrypoint/cmd fields, and updating docs and tests. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Introduces Pebble entrypoint support, deprecates legacy entrypoint and cmd fields with build errors, and updates docs and tests. Depends on canonical/pebble#188. Reviewers flagged the breaking change and suggested pre-warning users and creating a legacy track. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds Pebble entrypoint support, deprecating legacy entrypoint and cmd fields. Updates services validation, sets OCI entrypoint to pebble enter, and refreshes docs and tests. Maintainers plan to warn users about the breaking change. |
Update history
No update history recorded yet.
Related work
-
Related To:
pebble#188
(confidence 100%)
Explicit Pebble-layer prerequisite cited by the PR.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #410 Add entrypoint_service for pebble entrypoint services | rockcraft | merged | Merged PR #410 in commit ddd52d67, adding entrypoint_service support so a Pebble service can serve as the OCI entrypoint. | |
| #304 Pebble doc and test updates | rockcraft | merged | Merged PR #304 as commit 31700eaa, correcting Pebble documentation formatting and updating docs and spread tests for recent additions such as --args. |