Install
npm install -g @thrayne/cli
thrayne login
Describe a pipeline
Create thrayne.yml in the root of your repository.
pipeline: my-service
environments:
- staging
- production
promote:
requires: [checks]
Promote
thrayne promote my-service staging→production
That is the whole loop. Everything else — approvals, canary steps, drift detection — is added to the same file.
Watch it happen
Promotion is asynchronous, so the command returns as soon as the request is
accepted. To follow it rather than poll the dashboard, add --watch, which
streams each stage transition until the release reaches production or stops:
thrayne promote my-service staging→production --watch
If you would rather be told than wait, register a webhook instead and let the events come to you.