ehmatthes / django-simple-deploy

A reusable Django app that configures your project for deployment
BSD 3-Clause "New" or "Revised" License
307 stars 26 forks source link

Resolve region issue with Fly deployments #256

Closed ehmatthes closed 11 months ago

ehmatthes commented 11 months ago

See #255, #220.

ehmatthes commented 11 months ago

Working notes

ehmatthes commented 11 months ago

Sort discrepancy between integration test and manual run

When I run the integration test, it's failing at the fly deploy call. When I hop into the artifact project, fly deploy works.

ehmatthes commented 11 months ago

About regions

Current solution, taken from _get_region():

- This forum post: https://community.fly.io/t/feature-requests-region-latency-tests/968/6
- Leads to this tool: https://liveview-counter.fly.dev/
- It identifies the region with lowest latency, ie "Connected to iad".
- Solution: request this page, parse for that phrase, select region.
- Return 'sea' if this doesn't work.
ehmatthes commented 11 months ago

Update automate_all


ehmatthes commented 11 months ago

It feels good to have a new release out! I'll delete branches later.