cub release withdraw
cub release withdraw
Withdraw a release
Synopsis
Withdraw a release, identified by its globally-unique release ID.
Withdrawal takes the release out of service: it is no longer published for download,
but the release itself is retained. Use cub release delete to remove it.
Withdrawing changes what is served to the cluster behind the release Target, so, as publishing does, it requires TargetEditChildren on the release's Space, as well as Edit on the release. EditChildren on the Target grants Edit on the release, which lets the tool deploying it report its live status, but does not let it withdraw it.
The release is located by its ID regardless of which Space it lives in, so --space is not required.
If any Unit the release bundled has an outstanding DestroyGate, the withdrawal is blocked until the gate clears. The check covers the Units in this release's bundle as they are now, even ones since moved to another Target or Space or left with no Target. A Unit added to the release Target after this release was published is not in its bundle and does not block it, and a bundled Unit since deleted has no gate to check.
Examples:
cub release withdraw 61f26b06-3c34-4363-8b9d-7d0a7c2b5f1c
cub release withdraw <release-id> [flags]
Options
-h, --help help for withdraw
-o, --output string Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
--quiet No default output.
--verbose Detailed output, additive with default output
Options inherited from parent commands
--component string the Component of --variant, when that names the variant alone; --variant <component>/<variant> says the same in one flag
--context string The context to use for this command
--debug Debug output
--space string space to operate in, by slug or UUID. Omitted, a list or bulk operation spans the organization and a single entity is named as <space>/<slug>; "*" means the same as omitting it
--variant string variant to operate in, as <component>/<variant>, or as <variant> with --component: the space naming that Component whose Variant label is <variant>. The same scope as --space, named by what it is rather than by the space's slug; the two cannot be combined
SEE ALSO
- cub release - Release commands