Skip to content

Amarillo webhook endpoint to trigger build

License

Notifications You must be signed in to change notification settings

mfdz/amarillo-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Amarillo webhook endpoint to trigger build

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published