The local deploy substrate for OpenCharly — target: local (host:local
direct-shell) and host: user@machine (SSH) deployments, served out-of-process
(deploy:local).
The plugin is a standalone Go module the charly loader host-builds and serves
over go-plugin gRPC. The host's plugin-side deploy target Invokes it
(OpExecute) with the deployment's InstallPlan views (the serializable per-step
IR, with secrets injected, {{.Home}} resolved, and each step's teardown ops
captured host-side) plus a venue descriptor, and the host's executor served on
the broker (ShellExecutor for host:local, SSHExecutor for
host:user@machine).
| Capability | Surface |
|---|---|
deploy:local |
the local: deploy substrate (target: local, and host: user@machine SSH) |
The plugin dials back through the SDK executor and hands the plans to the shared
kit.WalkPlans:
- Plugin-renderable steps (
Opwrite/cmd/download,File,ShellHook+ theenv.dmanaged-block finalizer,ShellSnippet,ServicePackaged,ServiceCustom,RepoChange) it EXECUTES itself via the F2 reverse legs (RunSystem/RunUser/PutFile), echoing the host-computed reverse ops. - Host-engine steps (
Builder/LocalPkgInstall/SystemPackages/ act-Op/ExternalPlugin) it drives over theRunHostStepreverse leg.
It returns the combined teardown ops the host records in the install ledger and
replays at charly deploy del (record-and-replay).
Compose the plugin candy in a project's candy: list:
- '@github.com/opencharly/plugin-deploy-local/candy/plugin-deploy-local:<tag>'Then author a local: deploy:
my-deploy:
local:
from: my-template
host: local # or user@machine for SSHcandy/plugin-deploy-local/— the plugin module:plugin.go(the deploy provider +NewProvider()/NewMeta()/Invoke),schema/local.cue(the self-contained#DeployLocalPlugin),host_render_test.go,schema_serve_test.go,cmd/serve/main.go.charly.yml— the root project manifest (discover: candy)..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.
- Owning skill:
/charly-local:local-deploy—target: localdeployments, thehost:destination field, the install ledger, and ReverseOp teardown. /charly-internals:plugin— the plugin/provider model, including thedeployprovider class.opencharly/charly— the charly CLI.