deployment.reportStatus route takes the same information a deployment event carries, and a trigger evaluates it the same way.
Pick this path when your code host is not GitHub or GitLab, when the deploying repository is not connected, or when the deploy happens somewhere your code host never sees. A pipeline that runs Node.js can make the same report through the Node.js SDK, which also waits for the verdict.
Requirements
- An API key, created under Workspace Settings → API Keys. A workspace, organization or user key all work. A workspace key reports into its own workspace, so
workspaceIdhas to name that workspace. - The ability to make an authenticated HTTPS request from your pipeline.
What a report carries
Example:
The request
Example:json wrapper, and the reply carries the deployment under result.data.json. Replace $DEPLOY_ID with whatever your pipeline calls this deploy — a build number or a pipeline id — and $QAWOLF_WORKSPACE_ID with the id from Workspace Settings → API Keys.
Metadata
metadata describes the revision you deployed. Every field is optional, and each one QA Wolf receives makes the deployment easier to recognize and to link back to your code.
When a report starts a run
- A deployment’s first
successreport evaluates triggers, and it is the only report that does. To evaluate a deploy again, report it under a newproviderDeploymentId. - The response carries the deployment only, never the resulting runs.
- A deployment stays bound to the environment resolved on its first report, so later reports may omit the selector. Report a promotion as a new deployment under a new
providerDeploymentId.