kindgi environments
kindgi environments
Section titled “kindgi environments”Synopsis
kindgi environments <command>The order of your environments.
Commands
| Command | Description |
|---|---|
kindgi environments list |
Show the order projects go live through: each environment's name (from your pack config), project and position. |
kindgi environments set |
Set the order projects go live through — staging before prod, say. |
kindgi environments clear |
Clear the environment order; projects then take builds directly again. |
See also
kindgi environments list
Section titled “kindgi environments list”Synopsis
kindgi environments list [--org=<org-id>] [--path=<dir>]Show the order projects go live through: each environment's name (from your pack config), project and position.
Options
| Option | Default | Description |
|---|---|---|
--org <value> |
none (the tenant's order) | An org's order instead of the tenant's, by org id. |
--path <value> |
the current directory | The pack root, to name the environments. Default: the current directory. |
Every command also takes the global flags.
Examples
Show the order projects go live through, as a table.
kindgi environments list --tableList an org's own order instead of the tenant's.
kindgi environments list --org=<org-id>See also
kindgi environments set
Section titled “kindgi environments set”Synopsis
kindgi environments set <env> [<env> …] [--org=<org-id>] [--projects=<id-or-slug,…>] [--path=<dir>]Set the order projects go live through — staging before prod, say. Names the environments from your pack config, in order; --projects takes project ids or slugs instead. Replaces the whole order. Tenant admins only.
Options
| Option | Default | Description |
|---|---|---|
--org <value> |
none (the tenant's order) | An org's order instead of the tenant's, by org id. |
--path <value> |
the current directory | The pack root. Default: the current directory. |
--projects <value> |
none (the environment names are used, resolved through the pack config) | Project ids or slugs, comma-separated, in order — for use outside a pack, instead of environment names. |
Every command also takes the global flags.
Examples
Put staging before prod, naming the environments from the pack config.
kindgi environments set staging prodSet the order by project id or slug, outside a pack.
kindgi environments set --projects=staging,defaultSee also
kindgi environments clear
Section titled “kindgi environments clear”Synopsis
kindgi environments clear [--org=<org-id>]Clear the environment order; projects then take builds directly again. Tenant admins only.
Options
| Option | Default | Description |
|---|---|---|
--org <value> |
none (the tenant's order) | An org's order instead of the tenant's, by org id. |
Every command also takes the global flags.
Examples
Clear the order; projects then take builds directly again.
kindgi environments clearSee also