Skip to content
Spinbox is experimental: APIs change and data may be lost. Status lists what is built and what proves it.

spin smoke

View Markdown
Run the public contract against the installation this login is to - SPIN_ENDPOINT and
SPIN_TOKEN, or the profile: create a workspace and sign its access, run a command in it, check
it cannot reach the cloud's metadata service by any route a guest has - its address, IMDSv2's
token, IPv6, its names, and --metadata-name when given - (and reaches --reach, when given), suspend it and
resume it where it was, and erase it whatever happened before.
It runs as the person the token is: a key they registered must be held here, as for
'spin workspace create', and ssh must be installed.
Exit status:
0 every scenario passed
69 the installation could not be reached
70 it answered, and a scenario failed
77 it refused the credential
1 the smoke could not run as configured
Usage:
spin smoke [flags]
Flags:
-h, --help[=true|false] help for smoke
--image string The image to start from (default: the installation's)
--metadata-name string A name that resolves publicly to the metadata service's address, checked not to be reached
--network-tag strings Network policy to run under, by name (repeatable)
--preset string The preset it is sized by (default: the installation's)
--reach string A URL the workspace's policies let it reach, checked to be reached
--timeout duration How long the scenarios may take, not counting the erase (default 15m0s)
Global Flags:
--config string config file (default is $HOME/.spin/config.yaml)
-o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text")
--profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default")
--traceparent string the W3C traceparent of the span this command is part of; its own span is sent to the installation unless the profile says telemetry: false

Generated by task reference from spin/cmd/cli at 89c5eb5ea.

Installations run Spinbox v20261121.03; the reference is generated from spin v20261121.03 (89c5eb5ea). This page as Markdown, for a model or a terminal.