v2.30.0-pre6 511705f

rollback.md RawHistoryFolder

Rollback Command

Roll back a route to a previous image tag.

gordon rollback

Synopsis

gordon rollback <domain> [options]
gordon rollback list <domain>

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 deploys a selected tag for the route's repository. Semver tags are sorted in descending order first, followed by non-semver tags.

gordon rollback list <domain> only lists available tags and marks the current tag without deploying.

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

# List available tags for a domain
gordon rollback list myapp.example.com

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