Skip to main content

deploy

CLI tool for deploying and managing applications on remote servers over SSH. It supports multiple deployment types:

  • odoo — Odoo projects, relying on odoo-venv for virtual environment creation and odoo-addons-path for 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.

Download files

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

Source Distribution

trobz_deploy-0.23.2.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

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

trobz_deploy-0.23.2-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file trobz_deploy-0.23.2.tar.gz.

File metadata

  • Download URL: trobz_deploy-0.23.2.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trobz_deploy-0.23.2.tar.gz
Algorithm Hash digest
SHA256 e36f1b74e1e0a27b4117e6ed32e50862bd520f43bd7e70f84f449898cdf89ee1
MD5 35b5164c4187b7d073300d27bc8fcfc8
BLAKE2b-256 5088f50a37be0033d5252967e4689145af8a4705e991dc1c09d65f03b4993ca2

See more details on using hashes here.

Provenance

The following attestation bundles were made for trobz_deploy-0.23.2.tar.gz:

Publisher: release.yaml on trobz/deploy.py

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

File details

Details for the file trobz_deploy-0.23.2-py3-none-any.whl.

File metadata

  • Download URL: trobz_deploy-0.23.2-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trobz_deploy-0.23.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d16228e219eb6071ac9bfd335f88aed95f12d38fba2cee78e8e4754131e1475f
MD5 4102e1e8faabc87403b4ebd71a647d9b
BLAKE2b-256 79e0d3bf2df5bce1c2560e886f656cffb010107d70b7286dc27468867265a284

See more details on using hashes here.

Provenance

The following attestation bundles were made for trobz_deploy-0.23.2-py3-none-any.whl:

Publisher: release.yaml on trobz/deploy.py

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.23.3

2 files

This release

0.23.2 This release

2 files

0.23.1

2 files

0.23.0

2 files

0.22.0

2 files

0.21.1

2 files

0.21.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.15.2

2 files

0.15.1

2 files

0.15.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.1

2 files

0.11.0

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.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