Commit Graph
24 Commits
Author SHA1 Message Date
Zack Pollard a7fbf743bf ci: use 1pass for TF (#64) 2024-11-25 15:31:43 +00:00
Zack Pollard 3776ac5bc0 feat: optimise r2 locations for most of our colos (#50) 2024-10-11 16:55:22 +01:00
Zack Pollardandzackpollard 438e62ef0f feat: english localised map (#49)
Co-authored-by: zackpollard <zackpollard@users.noreply.github.com>
2024-10-09 21:51:50 +01:00
Zack Pollard 59ed2636e2 ci: better renovate config for grouping dependencies (#40) 2024-09-24 12:39:38 +02:00
Zack Pollard 1667e499c9 feat: dynamically change style json url for non-prod environments (#34) 2024-09-18 14:07:28 +01:00
Zack Pollard ecce91b478 feat: serve styles from tileserver (#33) 2024-09-17 12:00:28 +01:00
Zack Pollard 52b7dc2c70 feat: lock certain colos to preferred bucket regions (#31) 2024-09-12 20:09:17 +01:00
Zack Pollard c1515a5b0a fix: should use workers domain for tiles.immich.cloud cname (#30) 2024-09-12 18:33:31 +01:00
Zack Pollard adb975b7d2 fix: environment was changed to prod/dev not production (#29) 2024-09-12 13:41:29 +01:00
Zack Pollardandzackpollard 642fb05265 feat: multi-region R2 tiles (#22)
Co-authored-by: zackpollard <zackpollard@users.noreply.github.com>
2024-09-12 13:24:09 +01:00
Zack Pollard d8af08d8f4 fix: tile deployment should wait for kv warming 2024-08-27 12:37:18 +01:00
Zack Pollard 2b30bbf975 fix: enable nodejs_compat for worker when deployed with terraform 2024-08-27 12:36:33 +01:00
Zack Pollard 7f0823097a chore: rename to tiles-prod 2024-08-27 12:36:33 +01:00
Zack Pollard e396712bc7 fix: KV keys missing in prod 2024-08-27 11:40:48 +01:00
Zack Pollard c9d68732a6 fix: worker was destroyed, don't import 2024-08-27 11:23:03 +01:00
517134c61b ci: github actions for tileserver (#17)
* ci: fix kv-warmer, format files and run tests in CI

* chore: pin node version

* ci: fix incorrect node path

* ci: fix linting and test running

* ci: build tiles code

* chore: remove cf version metadata as it can't be used from terraform

* chore: remove file hash and use file name instead as unique identifier

* ci: deploy tiles gha

* ci: deploy tiles gha

* ci: deploy tiles gha

* ci: deploy tiles gha

* chore: test push-o-matic

* Update tile server file to 20240823.pmtiles

* ci: deploy tiles gha

* ci: run kv warmer and check if already warm

* chore: revert to node 18 because of network problems
https://github.com/nodejs/node/issues/47822

* chore: revert back to v1.pmtiles until v4 spec is finalised by protomaps

* Update deployment/modules/cloudflare/tiles/workers.tf

Fix incorrect environment variable in worker deployment

Co-authored-by: bo0tzz <git@bo0tzz.me>

* fix: kv-warming deploy on main only

---------

Co-authored-by: zackpollard <zackpollard@users.noreply.github.com>
Co-authored-by: bo0tzz <git@bo0tzz.me>
2024-08-27 11:15:52 +01:00
Zack Pollard 46d412950a feat: server timing headers (#15) 2024-08-19 20:54:50 +01:00
Zack Pollard c1110927a3 feat: pmtiles stream directories from KV with new format (#12)
* feat: pmtiles stream directories from KV with new format

* refactor: add metrics repository

* feat: add kv warmer script

* chore: update wrangler.toml for production

* chore: sync package lock and worker config

* feat: run deferred calls just before response is sent

* fix: include default tags in monitoring metrics

* fix: cancel response body as we don't need it, opens up connection

* chore: remove unnecessary log

* chore: move tsx to dev dependencies

* chore: unnecessary undefined return

* fix: broken package json
2024-08-17 11:44:42 +01:00
Zack Pollard 5c22716e05 chore: add original protomaps license 2024-08-13 13:29:52 +01:00
Zack Pollard 641d5e6518 feat: pmtiles worker code re-write (#5) 2024-08-13 13:29:01 +01:00
Zack Pollard 2b2347a845 feat: add kv cache for pmtiles directories 2024-07-29 11:51:11 +01:00
Zack Pollard 9466220951 fix: cache control incorrect value 2024-07-26 11:54:40 +01:00
Zack Pollard 8ea01f0883 fix: worker script needs to be set as a module 2024-07-25 15:17:24 +01:00
Zack Pollard 51e59c97fb feat: tile worker (#1) 2024-07-25 16:00:30 +02:00