Version .deploy
POST /{namespace}/versions/{version}/deploy
Deploy points a Startup’s live address at a Version, so every Interface serves that build.
- Noun
- Version
- Mode
do- Event
Version.deployed
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
version | Version | required | The Version to serve. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
version | Version | required | The Version, now live. |
Effects
- Emits
Version.deployed. - Performed by the Engineering Lead.
- Keeps the previous Version, so a
revertrestores it. - At a share of 100, resolves every Issue whose last open Change this Version carries.
- Refuses
livewhen a Secret a Function declares is missing inlive.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | Version.deploy |
| The record is not in a state that allows this Verb, so the call is refused. | refused | Read the record, run the Verb that moves it to an allowed state, then retry. | Version.deploy |
live when a Secret a Function declares is missing in live | refused | Clear what the check names, then call it again. | Version.deploy |
When it waits
| Gate | Default |
|---|---|
| Decision class | Medium: two-way, visible |
| Delay window | 1 business hour, in which a watcher can pause, redirect or cancel it; then it runs. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |