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 + templates/nginx.conf.j2 — rendert compose.yaml
    • nginx.conf aus Version + TLS-Modus; erzeugt bei tls_mode=standalone ein selbstsigniertes Zertifikat unter <dir>/certs/ (eigenes Zertifikat dort ablegen, um es zu ersetzen). install fragt zusätzlich MEDIA_ROOT ab und legt <dir>/compose.override.yaml.example an (instanzspezifische Overrides — umbenennen zu compose.override.yaml, wird automatisch eingebunden und bei Updates nicht angefasst). Optionale Env-Vars (Admin-Login, SMTP, Geonames, …) landet auskommentiert in .env.
  • 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.5.tar.gz (13.8 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.5-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: katalon_cli-0.1.5.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for katalon_cli-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b125830bbff54888f6617731c42c546d635e0a250d31613f1f9ee2ece058a822
MD5 641ee89625a8c3551d304106a4dffb3e
BLAKE2b-256 4314c4743f88bd4df19efb0d997989f1afd85922052f146e9e29fe51e294361b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: katalon_cli-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for katalon_cli-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 db5428d1c03c433a73d4be9efb73bb98e82e170bcaee46cb2f2368452a2034ee
MD5 3917cc0cb780bcb5c0304886f65c3261
BLAKE2b-256 1dc6264341a849d4ed5e57aa5b99dbbec64d8f29da7bcd9cbde1e8e80a9142bb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

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