← Back to issue list

Add support for the Pebble entrypoint

View original Github issue

Metadata

Project
rockcraft
Number
#205
Type
pull request
State
merged
Author
cjdcordeiro
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds Pebble entrypoint support to Rockcraft, deprecates legacy entrypoint and cmd fields, and updates documentation and tests. Discussion highlighted potential breaking changes, suggesting user notifications and a legacy track.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#410 Add entrypoint_service for pebble entrypoint services rockcraft merged Merged following approval and the resolution of a dependency on charmed-spark-rock#57. The change implements entrypoint_service support for pebble entrypoint services.
71%