Appearance
systemslab workspace label
| Description | Set or remove a context's labels in a workspace. |
|---|---|
| Usage | systemslab workspace label <WORKSPACE> <CONTEXT> <LABEL>... [--declare] |
Description
The systemslab workspace label command sets a context's labels in a workspace. Each label is KEY=VALUE to set it or KEY- to remove it, and the context's labels afterwards are printed one KEY=VALUE per line.
Labels belong to the workspace, so the same context can be labelled phase=baseline in one workspace and phase=regression in another. Every key must be a label facet of the workspace (see systemslab workspace facet) unless --declare is given, so that a typo doesn't create a new facet.
systemslab workspace label allocator-sweep <CONTEXT-ID> phase=baseline allocator-Options
| Option | Default | Description |
|---|---|---|
<WORKSPACE> | The workspace's slug or id. | |
<CONTEXT> | The id of a context in the workspace. | |
<LABEL>... | The labels to set (KEY=VALUE) or remove (KEY-). | |
--declare | Declare keys that aren't facets of the workspace yet as new label facets, instead of failing. |
Common Options
| Option | Default | Description |
|---|---|---|
--systemslab-url | The URL at which to access the systemslab server. | |
--color | auto | Controls when color is used in the output. Possible values are auto, always, and never. |
--output-format | long | Output format to use when outputting messages. long will result output designed to be human-readable while short is short output meant to be used within scripts. |
Environment Variables
| Variable | Description |
|---|---|
SYSTEMSLAB_URL | Specify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url. |