Skip to main content

CLI for the Orkestr deployment platform

Project description

orkestr-cli

CLI for the Orkestr deployment platform.

Install

pip install orkestr-cli

Quick start

# Authenticate with your API token
orkestr login

# From inside your app's git repo: detect name/repo/branch and create the project
orkestr init

# Build, deploy, and wait for the live URL
orkestr deploy .

# ...or deploy a named project
orkestr deploy my-api

# View logs / check health
orkestr logs my-api
orkestr health my-api

orkestr init writes a gitignored .orkestr/config.json linking the directory to the project, so orkestr deploy . knows what to ship. It needs an orkestr account and the repo's git provider (GitHub, GitLab, Bitbucket, or Codeberg) connected to that account.

Commands

Command Description
orkestr login / logout / whoami Auth
orkestr init Link the current directory to a new project (interactive)
orkestr projects list|create|show|update|delete|analyze Manage projects
orkestr projects env-vars|webhook|webhook-toggle <project> Project env vars + git webhook
orkestr envs list|create|update|delete|env-vars Manage environments
orkestr deploy [project] Build + deploy, stream the pipeline, print the live URL (. = linked dir; --detach to not wait)
orkestr deployments list|show|logs|build-log|rollback Deployment history
orkestr functions list|show|create|update|deploy|delete Serverless functions
orkestr functions logs|invoke|env-vars|metrics|rotate-key Function ops
orkestr addons list|add|show|delete|backups|backup|download Add-ons (Postgres/Redis)
orkestr addons auto-backup|backup-info|delete-backup Backup config
orkestr logs|stats|health <project> Runtime container logs / stats / health
orkestr metrics|app-health|deployment-stats <project> Request metrics, app health, deploy stats
orkestr sleep|wake <project> Manually sleep/wake a container
orkestr domains list|verify Custom domains
orkestr registry list|scan|delete Docker registry images
orkestr activity / orkestr dashboard Audit log + summary
orkestr notifications list|read|read-all Notifications
orkestr tokens list|create|delete API tokens
orkestr groups list|show|create|delete|add|remove Project groups (workspaces)
orkestr connections list|repos|disconnect Git provider OAuth connections

All commands support --json for raw JSON output.

PyPI project page: pypi.org/project/orkestr-cli

Documentation

Full docs at orkestr.eu/docs

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

orkestr_cli-0.3.0.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

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

orkestr_cli-0.3.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file orkestr_cli-0.3.0.tar.gz.

File metadata

  • Download URL: orkestr_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for orkestr_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 732c106e8b5f0f39c099a59f6e79b79745be4dd686b1ec6feccfa541149c5761
MD5 efee8854ee0744018245f20e50b071fb
BLAKE2b-256 94505182defa170a516c5fd3fdf88a328b1355cd9242d97cda3fd769ba4457cc

See more details on using hashes here.

File details

Details for the file orkestr_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: orkestr_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for orkestr_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 014d0bc6b81a99e8b9b9d629e74323d74383c26c917e0cf0e29517da8143b88d
MD5 e9a277f9800cf5122f7db13e2ad88a78
BLAKE2b-256 2acc0b0fac64cd71acdb1aecc4763295c1c96709f12ed39f632ef4ac8401261d

See more details on using hashes here.

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