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

pip install deploy

With uv:

uv tool install 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.9.0.tar.gz (21.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.9.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trobz_deploy-0.9.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

Hashes for trobz_deploy-0.9.0.tar.gz
Algorithm Hash digest
SHA256 9df7803f67ecae29a298c34834e568a8bb9be5286cc190636bfcbc432201ebc8
MD5 04a22334965e65e2f8959b29d29762b0
BLAKE2b-256 4da4e0b74677312c2b84852c6b781b840a480ebea7641edd2826fb75e026a108

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: trobz_deploy-0.9.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

Hashes for trobz_deploy-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5af42af1b0cb5d584a44345f1938f5d561e596c80e0af43c3587ee510895811f
MD5 b5392d27fbada1af44f6a4e288afe8ac
BLAKE2b-256 4c9b01d58c4179497d5bd31a4b49fb8b8940db6de20150a22d0ee83516ea0900

See more details on using hashes here.

Provenance

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