Skip to main content

katalon-cli

Installer & Updater für Katalon Collections Production-Instanzen. Verwaltet eine Instanz unter einem Zielverzeichnis (z.B. /opt/katalon/) — pullt gepinnte Release-Images, generiert compose.yaml, macht Backups vor jedem Update, kann rollbacken.

Installation

curl -LsSf https://astral.sh/uv/install.sh | sh
uv tool install katalon-cli

Nutzung

katalon install              # interaktiver Setup-Wizard (Rich-Prompts + Progress)
katalon start / stop / status
katalon update                # interaktives Update, Backup zuerst immer
katalon rollback               # letztes Backup einspielen
katalon doctor                 # Docker, Diskspace, Ports prüfen
katalon backup                 # manuelles Backup
katalon logs [service]

Alle Befehle: --dir PATH (default /opt/katalon). install/update fragen interaktiv (Auswahl über rich.prompt), update/rollback haben --yes zum Überspringen der Rückfrage.

/opt/katalon gehört root — katalon install scheitert dort ohne Vorbereitung mit "Permission denied". sudo katalon install funktioniert i.d.R. nicht (sudo hat eigenes PATH, findet das per uv tool installierte katalon nicht). Zwei Optionen:

# a) anderes Zielverzeichnis, kein root nötig
katalon install --dir ~/katalon

# b) bei /opt/katalon bleiben: Verzeichnis vorab anlegen und dem User geben
sudo mkdir -p /opt/katalon
sudo chown $USER:$USER /opt/katalon
katalon install --dir /opt/katalon

Entwicklung

uv sync
uv run katalon --help
uv run pytest

Architektur

  • core/state.pyinstallation.json, Single Source of Truth für laufende Version.
  • core/release.py — GitHub-Release-Metadaten (katalon-release.json Asset), 1h Cache.
  • core/compose_gen.py + templates/compose.yaml.j2 — rendert compose.yaml aus Version + TLS-Modus.
  • core/backup.pypg_dump vor jedem Update; Rollback restauriert Dump statt alembic downgrade.
  • core/docker.py — dünner docker compose-Subprocess-Wrapper.
  • main.py — Typer-Commands, interaktive Teile über rich.prompt/rich.progress.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

katalon_cli-0.1.2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

katalon_cli-0.1.2-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file katalon_cli-0.1.2.tar.gz.

File metadata

  • Download URL: katalon_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for katalon_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 da86d5e4074bac5467e693bcc63e4bd8eaa9b7ecb065c1b9f021f6817349996d
MD5 9098fa723fed313aad40ce356f6b7106
BLAKE2b-256 c259c6ea6bfb6e6497639af872095256cfb091af7402894e7912f694f21d7826

See more details on using hashes here.

Provenance

The following attestation bundles were made for katalon_cli-0.1.2.tar.gz:

Publisher: release.yml on katalon-collections/katalon-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file katalon_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: katalon_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for katalon_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 613d007a4749a99657502e696c0d6fa3f660ebe8f03372963aca78c8ec88545f
MD5 3ddaae9842e79ad6fe1ab581293be18a
BLAKE2b-256 aaadb12f73a5d09155174d27494bad6d44c4c399902030a67001d5d966364a1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for katalon_cli-0.1.2-py3-none-any.whl:

Publisher: release.yml on katalon-collections/katalon-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page