Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 863 Bytes

HACKING.md

File metadata and controls

23 lines (16 loc) · 863 Bytes

Hacking

Testing

The project includes a simple test application that can be run with docker-compose up. The app runs on port 8080 and / returns a plaintext response of "Hello Gunicorn!" If the path is an integer (e.g. /1) it will wait that many seconds before returning.

Releasing

To create a new release, run the following commands with the appropriate versions. Builds should be pushed for both the patch release (e.g. 0.5.3) and the minor release (e.g. 0.5)

docker buildx build --platform linux/amd64,linux/arm64 --tag luhn/gunicorn-proxy:0.5 --push .

To push to AWS ECR:

aws ecr-public get-login-password --region us-east-1 --profile personal | docker login --username AWS --password-stdin public.ecr.aws/luhn
docker buildx build --platform linux/amd64,linux/arm64 --tag public.ecr.aws/luhn/gunicorn-proxy:0.5 --push .