Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: promotion instructions to "working with stages" #3395

Merged
merged 5 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -484,11 +484,40 @@ Users with credentials for and sufficient permissions within the Kargo control p

### Promoting Freight to a Stage

:::note
**Maintainers Note**
<Tabs groupId="promoting">
<TabItem value="ui" label="Using the UI" default>

Placeholder
:::
1. Click on the target icon to the left of the `Stage`:

![Promote Freight to a Stage](img/promote-freight-to-a-stage.png)

2. Select the desired `Freight` from the <Hlt>Freight Timeline</Hlt>, and click <Hlt>Yes</Hlt> to promote:

![Promote Freight to a Stage](img/promote-freight-to-a-stage-2.png)

</TabItem>
<TabItem value="cli" label="Using the CLI">

To promote `Freight` to a `Stage` using the CLI, run:

```shell
kargo promote \
--project kargo-demo \
--freight f5f87aa23c9e97f43eb83dd63768ee41f5ba3766 \
--stage prod
```

Alternatively, you can reference the `Freight` you wish to promote using its alias:

```shell
kargo promote \
--project kargo-demo \
--freight-alias frozen-tauntaun \
--stage prod
```

</TabItem>
</Tabs>

### Deleting a Stage

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.