deploy_push
Copies files to a remote host over SSH, verifies MD5 hashes after transfer, and returns a deploy ID for later re-checking.
Instructions
Copy files to a host and verify what landed (Get-FileHash over SSH). Returns a deploy id whose entries carry the server-checked md5 + verified flags. Call deploy_verify later to re-check.
The push takes the host lease for the copy+verify window: a host held by another owner is a
conflict (pass that owner if it is you), a free host is claimed as 'deploy:<id>' and released
when the copy finishes. Inside an orchestration project the project already holds the lease as
'project:<project_id>', so pass that as `owner` (the `cs2_live_test` deploy step does).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addon | No | ||
| files | Yes | Manifest: {path, local} entries to copy | |
| owner | No | Your host-lock owner if you already hold the lease (the push reuses it and leaves it locked). Inside an orchestration project pass 'project:<project_id>' — the project holds the lease for the whole run | |
| verify | No | Re-check MD5s on the host after copying | |
| dry_run | No | ||
| host_id | Yes | Host id from list_hosts, e.g. 'build-pc' | |
| parallel | No | ||
| dest_root | Yes | Remote destination root, e.g. 'C:/iso_build/addons' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| addon | No | ||
| notes | No | ||
| owner | No | host-lock owner effective for this push: 'deploy:<id>' when the server took the lease itself, else the caller's owner whose lease was reused | |
| status | Yes | ||
| entries | No | ||
| host_id | Yes | ||
| web_url | No | Absolute URL of this deployment's page in the web UI (Activity page) | |
| dest_root | Yes | ||
| created_at | Yes | ||
| updated_at | Yes |