feat: add support for working-dir in the service schema
Metadata
Current evaluation
Merged. Implements working-dir configuration for Pebble services in rockcraft.yaml, resolving issue #303. Approved by three reviewers, passed CI, and modified four files.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Closes https://github.com/canonical/rockcraft/issues/303.
It is now possible to set a working directory for Pebble services: https://github.com/canonical/pebble/commit/a807026f3b066efa00e81989900f38c2a151b73f
This PR adds support for the new field in `rockcraft.yaml`
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Implements working-dir configuration for Pebble services in rockcraft.yaml, resolving issue #303. Approved by three reviewers, passed CI, and modified four files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implements working-dir support in the Pebble service schema within rockcraft.yaml, resolving issue #303. Allows explicit working directory configuration for Pebble services. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to add working-dir support to the Pebble service schema in rockcraft.yaml, closing issue #303. The update aligns with a Pebble release that introduced the field, allowing explicit working directory configuration for services. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #939 feat: add entrypoint-command | rockcraft | merged | Merged PR adding an entrypoint-command field to rockcraft.yaml to replace the default pebble enter entrypoint. Includes tests and documentation. Approved by reviewers and passed CI checks before merge. |