Skip to content

v0.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Jan 12:47
d76a9a2
Add geo_sort option for server resource (#103)

* Add geo_sort option for server resource

Adds support for the geo_sort server setting which enables geographic-based
host selection for replicated servers. When enabled, clients will connect
to the closest host based on GeoIP lookup.

Closes #102

* Update test Docker image and fix default route handling

- Update test Docker image to 1.32.4469.94 (supports geo_sort)
- Delete new default DNS route (8.8.8.8/32) added in newer Pritunl versions
- Add geo_sort tests (geo_sort=true skipped - requires enterprise license)

* Fix geo_sort not being set on server creation and enable test

The geo_sort field was missing from CreateServer() in client.go,
causing the value to never be sent to the API. Added the missing
field handling and removed the test skip now that it passes.

* Improve CI reliability with proper API polling

- Remove fixed sleeps in favor of polling
- Use wait-for-it with 60s timeout for MongoDB and web server
- Poll /state endpoint until API is ready after setting credentials

* Add workflow_dispatch for manual test runs

* Fix MongoDB readiness check to run inside container

* Remove workflow_dispatch from CI workflow

* Remove CLAUDE.md

* Refactor CI wait loops into reusable scripts

* Restore error handling for route deletion

* Fix error message for route deletion