v2.11.0 dca6537

rollback.md RawHistoryFolder

Rollback Command

Roll back a route to a previous image tag.

gordon rollback

Synopsis

gordon rollback <domain> [options]

Arguments

Argument Description
<domain> The route domain to roll back

Options

Option Description
--tag Target tag (skips interactive selection)
--remote Remote Gordon URL
--token Authentication token for remote

Description

gordon rollback lists available tags in the Gordon registry for the route's repository, then deploys the selected version. Semver tags are sorted in descending order first, followed by non-semver tags.

If the selected tag matches the current running tag, no action is taken.

Examples

# Interactive selection
gordon rollback myapp.example.com

# Roll back to a specific tag
gordon rollback myapp.example.com --tag v1.2.0

Notes

  • Remote mode required. See CLI Overview for targeting options.
  • Tags are read from the Gordon registry configured on the server.
source
1# Rollback Command
2
3Roll back a route to a previous image tag.
4
5## gordon rollback
6
7### Synopsis
8
9```bash
10gordon rollback <domain> [options]
11```
12
13### Arguments
14
15| Argument | Description |
16|----------|-------------|
17| `<domain>` | The route domain to roll back |
18
19### Options
20
21| Option | Description |
22|--------|-------------|
23| `--tag` | Target tag (skips interactive selection) |
24| `--remote` | Remote Gordon URL |
25| `--token` | Authentication token for remote |
26
27### Description
28
29`gordon rollback` lists available tags in the Gordon registry for the route's
30repository, then deploys the selected version. Semver tags are sorted in
31descending order first, followed by non-semver tags.
32
33If the selected tag matches the current running tag, no action is taken.
34
35### Examples
36
37```bash
38# Interactive selection
39gordon rollback myapp.example.com
40
41# Roll back to a specific tag
42gordon rollback myapp.example.com --tag v1.2.0
43```
44
45### Notes
46
47- Remote mode required. See [CLI Overview](./index.md) for targeting options.
48- Tags are read from the Gordon registry configured on the server.
49
50## Related
51
52- [CLI Overview](./index.md)
53- [Push Command](./push.md)
54- [Routes Command](./routes.md)

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 7

Tags 106

↑↓ moveenter openesc close