Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 775 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 775 Bytes

Amarillo Continuous Deployment

Receiving Github Webhooks in FastAPI to trigger updates.

All deployments of Amarillo use gunicorn. Uvicorn is used for development with --reload.

Running

Create a virtual environment, activate it and install dependencies

  • python3 -m venv venv
  • . venv/bin/activate
  • pip install -r requirements.txt

Run run.sh.

Amarillo-CD on itself

The idea is that commits to the amarillo-cd repo trigger updates to the running instance itself. For that the FastAPI process shuts itself down and is restarted in an infinite loop in run.sh.

Note: when run.sh is modified, the process needs to be started manually.