CLI tool for deploying and managing applications on remote servers over SSH.
Project description
deploy
CLI tool for deploying and managing applications on remote servers over SSH. It supports multiple deployment types:
odoo— Odoo projects, relying onodoo-venvfor virtual environment creation andodoo-addons-pathfor add-on discovery.python— Generic Python services (FastAPI, Flask, background workers, etc.).service— Any other application type (Node.js, Ruby, compiled binaries, etc.) where the operator controls the build and start commands via configuration.
Installation
With uv:
uv tool install trobz-deploy
On remote server where applications will be deployed:
uv tool install odoo-venv
uv tool install odoo-addons-path
uv tool install git-aggregator
Sample configuration file:
openerp-my-project-staging:
ssh_host: user@server.domain.com
ssh_port: 1234
repo_url: git@github.com:org/my-project.git
hooks:
pre-update:
- echo "Update starting"
pre-update-required:
- echo "Update required"
pre-update-success:
- echo "Pre-checks passed"
pre-update-fail:
- echo "Pre-checks failed"
post-update:
- echo "Post update"
post-update-success:
- echo "Update succeeded"
post-update-fail:
- echo "Update failed"
Usage
Refer to SPEC.md for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trobz_deploy-0.10.0.tar.gz.
File metadata
- Download URL: trobz_deploy-0.10.0.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79f9978e1119f3ae82f751aea93de46db8a366d00806345fcf82c1367f8b43cc
|
|
| MD5 |
c680f7a6ef4c6b578be92b3174e50d04
|
|
| BLAKE2b-256 |
667e1af3b771c4c9f9736f90c589a63fa45a6c7f8f4ec27003537655502321bb
|
Provenance
The following attestation bundles were made for trobz_deploy-0.10.0.tar.gz:
Publisher:
release.yaml on trobz/deploy.py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trobz_deploy-0.10.0.tar.gz -
Subject digest:
79f9978e1119f3ae82f751aea93de46db8a366d00806345fcf82c1367f8b43cc - Sigstore transparency entry: 1471252912
- Sigstore integration time:
-
Permalink:
trobz/deploy.py@7918ace730c508003fc6eb6b2c3423f700195e61 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/trobz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@7918ace730c508003fc6eb6b2c3423f700195e61 -
Trigger Event:
push
-
Statement type:
File details
Details for the file trobz_deploy-0.10.0-py3-none-any.whl.
File metadata
- Download URL: trobz_deploy-0.10.0-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b0a431e6c1564e35bf83e3d1f2a7cf2e8561970b7ccca132ea9b1c9a3f1907f
|
|
| MD5 |
ca5eb79f7df5a59f7c30617290d0f001
|
|
| BLAKE2b-256 |
dc88c93aae10389c21267522bae7ecccc08850f6594060782ca7a1cb7fbd1a2f
|
Provenance
The following attestation bundles were made for trobz_deploy-0.10.0-py3-none-any.whl:
Publisher:
release.yaml on trobz/deploy.py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trobz_deploy-0.10.0-py3-none-any.whl -
Subject digest:
7b0a431e6c1564e35bf83e3d1f2a7cf2e8561970b7ccca132ea9b1c9a3f1907f - Sigstore transparency entry: 1471252952
- Sigstore integration time:
-
Permalink:
trobz/deploy.py@7918ace730c508003fc6eb6b2c3423f700195e61 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/trobz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@7918ace730c508003fc6eb6b2c3423f700195e61 -
Trigger Event:
push
-
Statement type: