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
- Create virtual environment.
python -m venv venv
- Activate virtual environment.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file automatic-deployer-0.3.3.tar.gz
.
File metadata
- Download URL: automatic-deployer-0.3.3.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.1.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 312449b7cc468c119ed0c223ef0ddf31c24a9f7f010f03b6fe4a61dd397d3f7a |
|
MD5 | 115dad8beed7b6741d7b6fa52f702757 |
|
BLAKE2b-256 | 4022fbef3b479de960a805d841185f4f1a01a4c01a470ced9c8c47098c171aed |
File details
Details for the file automatic_deployer-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: automatic_deployer-0.3.3-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.1.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f019a2395b8ab4227e89ffb8f26472aeb455bf733f8ab369cfbccc9ba754a00 |
|
MD5 | b6edea6ea75eb78b6ddf0ed0c1096143 |
|
BLAKE2b-256 | 5c2387c7ebf8bd5a7b1cfcd7f01c858acc789792928440ba0da12d786da67eb6 |