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 check-updates # prüft nur, ob ein neues Release verfügbar ist
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.py—installation.json, Single Source of Truth für laufende Version.core/release.py— GitHub-Release-Metadaten (katalon-release.jsonAsset). Enthält optionalenv_vars/deprecated_env_vars:install/updateergänzen neue Pflichtvariablen automatisch (Secret generieren oder Default übernehmen), fragen bei fehlendem Default interaktiv nach (--yesbricht dann ab), tragen neue optionale Variablen auskommentiert in.envein und warnen vor veralteten Variablen, die noch in der.envstehen.core/compose_gen.py+templates/compose.yaml.j2+templates/nginx.conf.j2— rendertcompose.yamlnginx.confaus Version + TLS-Modus; erzeugt beitls_mode=standaloneein selbstsigniertes Zertifikat unter<dir>/certs/(eigenes Zertifikat dort ablegen, um es zu ersetzen).installfragt zusätzlichMEDIA_ROOTab und legt<dir>/compose.override.yaml.examplean (instanzspezifische Overrides — umbenennen zucompose.override.yaml, wird automatisch eingebunden und bei Updates nicht angefasst). Optionale Env-Vars (Admin-Login, SMTP, Geonames, …) landet auskommentiert in.env.
core/backup.py—pg_dumpvor jedem Update; Rollback restauriert Dump stattalembic downgrade.core/docker.py— dünnerdocker compose-Subprocess-Wrapper.main.py— Typer-Commands, interaktive Teile überrich.prompt/rich.progress.
Metadata
Release files for katalon-cli 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| katalon_cli-0.1.10.tar.gz | 16.2 kB | With provenance | Details for katalon_cli-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| katalon_cli-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for katalon_cli-0.1.10-py3-none-any.whl |
Total release size: 37.4 kB
Release files / katalon_cli-0.1.10.tar.gz
| Download URL | katalon_cli-0.1.10.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8e6b0c9e2cdbbb827eea7762e33f82dcef2f9481e0c9ec831a5c7fe821c43d9
|
|
BLAKE2b-256 checksum How to use checksums |
623dfc5c7bb20833f8e50aa7abd049a760fdfdb58813e6a66d2301d7118889a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logRelease files / katalon_cli-0.1.10-py3-none-any.whl
| Download URL | katalon_cli-0.1.10-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4fa616a43dd6b82b3cbb54e53e46b88b625189dc75ceea8b062e3e27a494ee9
|
|
BLAKE2b-256 checksum How to use checksums |
e48c439ef6895465350798e1e0147ceaa3107aef3d54110f08aba0fe7b7546e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logSecurity for katalon-cli 0.1.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for katalon_cli-0.1.10.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.