Skip to main content

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

Project 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.21.1.tar.gz (25.1 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.21.1-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trobz_deploy-0.21.1.tar.gz
  • Upload date:
  • Size: 25.1 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.21.1.tar.gz
Algorithm Hash digest
SHA256 594eb17b3b89a45f5e974ab3c4c012d9500252e9ab6d1cf9f10b618df42b8f76
MD5 2e6765b0f04afa9985a27702d17b5cbe
BLAKE2b-256 e33b913f51d391abbb34b83f10af331b313f9e39b4d1286c26f79a7c66027787

See more details on using hashes here.

Provenance

The following attestation bundles were made for trobz_deploy-0.21.1.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.21.1-py3-none-any.whl.

File metadata

  • Download URL: trobz_deploy-0.21.1-py3-none-any.whl
  • Upload date:
  • Size: 32.9 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.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ec14235e689911d5f51c0a8e19d49743e026ca9128ab7005f6acb2f07093ba
MD5 a8c34591484d48b9243d6e299d4f68c2
BLAKE2b-256 e43464adcc3f4745476edcdf20da705d5f26d57866d7639908d4769a02cc8504

See more details on using hashes here.

Provenance

The following attestation bundles were made for trobz_deploy-0.21.1-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page