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.1.tar.gz (9.1 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.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: katalon_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 9.1 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.1.tar.gz
Algorithm Hash digest
SHA256 78386ea84b88e1b1689ea725f93385a1e8f71873f489862243909e1f871d2f4b
MD5 25ae5c04a91b5aa575bc821f340d09e4
BLAKE2b-256 73ca6dd4d3f76a08ac619ba8d281bd4e88245b53e69b6860dc3cd27d9b713c14

See more details on using hashes here.

Provenance

The following attestation bundles were made for katalon_cli-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: katalon_cli-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f1806430baf7e3f8536b89d537f4060987b86d91162c4f85913884c5b3a7ebb
MD5 7a7afea50beeb039a150a48f9b0a97f5
BLAKE2b-256 6cc7b94b928280121676c7c16c0042bd87410bd288ee720ff438de418c22dad8

See more details on using hashes here.

Provenance

The following attestation bundles were made for katalon_cli-0.1.1-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

0.1.2

2 files

This release

0.1.1 This release

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