Skip to main content

A CLI App to watch git repo and automatically run a command (deploy command, ex. build and run docker container) after inspecting some changes.

Project description

Automatic Deployer

A CLI App to watch git repo and automatically run a command (deploy command, ex. build and run docker container) after inspecting some changes.

Installation

  1. Create virtual environment.
    python -m venv venv
  2. Activate virtual environment.
  3. Install package.
    pip install automatic-deployer

Running

Setup

Use the following command to set up watcher.
deployer setup
Follow the prompt for required inputs or use --help to direct accessing the command arguments.
deployer setup --help

Run

Use the following command to start watching repo up watcher.
deployer start

Additional Commands

Use --help for additional commands and their functionality.
deployer --help

Notes

  • If you want to watch a private repo, you can use the following style git url.
    https://oauth2:TOKEN@github.com/username/repo.git
    • TOKEN can be generated throw your vcs.

Future Features

  • Currently, it only supports main branch but in near we will add option to watch other branches too.

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

automatic-deployer-0.3.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

automatic_deployer-0.3.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file automatic-deployer-0.3.0.tar.gz.

File metadata

  • Download URL: automatic-deployer-0.3.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.1.1 CPython/3.10.5

File hashes

Hashes for automatic-deployer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ba2b3fc72309a7f4da97e97a48127ec9ee3cb9a5aee7f13a30b166c1705eeda7
MD5 4adc43aa1b4b2c8313b44fb18ac4d309
BLAKE2b-256 1618906bbd44218d4a75dc937e69fbc0977cf47f03440a0a13ffa63b128e757e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for automatic_deployer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45b61eba7a34b9693e038a1b51d4349a36b3f08130f2bf9226267fbc665547b8
MD5 222ca263e6faf2a5b16ea8babe681d35
BLAKE2b-256 af61cf46bfc122e7c367103ee3284bb9fe1c4976d4ca283fb1d5c2e4c8cd684a

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