Deployments Overview
The Deployments package stores Git provider connections and publishes Composer requirement changes for package installation flows.
Responsibilities
Section titled “Responsibilities”- Manage active deployment connections.
- Prepare Composer requirement commits.
- Publish install changes through Git provider pull requests.
- Provide the
PublishesComposerChangescontract used by package install flows.
Deployment connection secrets are stored through the package model casts and should remain encrypted at rest.
Admin Surfaces
Section titled “Admin Surfaces”DeploymentConnectionPagefor configuring the active Git provider connection.DeploymentConnectionWidgetfor surfacing connection state in admin dashboards.
Runtime Surfaces
Section titled “Runtime Surfaces”The package registers authenticated OAuth callback routes under capell/oauth:
capell-deployments.oauth.githubcapell-deployments.oauth.gitlabcapell-deployments.oauth.bitbucket
These routes are workflow callbacks rather than public frontend pages, so screenshot coverage should focus on the admin connection page and widget. Callback routes should be verified by feature tests.
Screenshot Coverage
Section titled “Screenshot Coverage”The screenshot contract is stored in screenshots.json. Final capture should include the connection page and widget after demo connection data is prepared.