ci(ingestion): scheduled CI/CD workflow to compile and sync PMTiles archives to Cloudflare R2 #104

Merged
yuris merged 1 commit from feat/ci-sync-tiles-workflow into main 2026-10-15 01:21:53 +00:00
Owner

Summary

Adds scheduled monthly and manual CI/CD workflow to ingest authentic national spatial data, compile PMTiles with Tippecanoe, and sync to Cloudflare R2.

Closes #102

Principles applied

  • principle-build-the-lever: Automates end-to-end vector tile compilation and edge deployment on a monthly schedule.
  • principle-boundary-discipline: Large binary vector tiles and multi-megabyte GeoJSON datasets remain isolated to ephemeral CI runner storage and R2 object storage, preventing Git bloat.
  • ponytail-review: Replaces persistent worker daemon with an ephemeral monthly workflow.

Impact

  • For the consumer: Production map layers are automatically updated from official government geoportals on the 1st of every month without service interruption.
  • For the maintainer: Zero manual operational overhead; secrets are managed via Forgejo Action Secrets.

Anti-Overengineering Audit (ponytail-review)

  • No bespoke tools or in-house crates added when standard upstream libraries exist.
  • No cosmetic compliance (e.g. importing a library just to call an unused helper or info command).
  • Code subtraction evaluated: unnecessary wrappers or files were deleted rather than preserved.

Verification proof

  • pnpm exec vp check: Passed cleanly with zero formatting or lint errors.
  • pnpm test: All unit tests passed.
  • pnpm build: Next.js Turbopack production build succeeded cleanly.
## Summary Adds scheduled monthly and manual CI/CD workflow to ingest authentic national spatial data, compile PMTiles with Tippecanoe, and sync to Cloudflare R2. Closes #102 ### Principles applied - `principle-build-the-lever`: Automates end-to-end vector tile compilation and edge deployment on a monthly schedule. - `principle-boundary-discipline`: Large binary vector tiles and multi-megabyte GeoJSON datasets remain isolated to ephemeral CI runner storage and R2 object storage, preventing Git bloat. - `ponytail-review`: Replaces persistent worker daemon with an ephemeral monthly workflow. ### Impact - **For the consumer:** Production map layers are automatically updated from official government geoportals on the 1st of every month without service interruption. - **For the maintainer:** Zero manual operational overhead; secrets are managed via Forgejo Action Secrets. ### Anti-Overengineering Audit (ponytail-review) - [x] No bespoke tools or in-house crates added when standard upstream libraries exist. - [x] No cosmetic compliance (e.g. importing a library just to call an unused helper or info command). - [x] Code subtraction evaluated: unnecessary wrappers or files were deleted rather than preserved. ### Verification proof - `pnpm exec vp check`: Passed cleanly with zero formatting or lint errors. - `pnpm test`: All unit tests passed. - `pnpm build`: Next.js Turbopack production build succeeded cleanly.
ci(tiles): add scheduled workflow to compile PMTiles and sync to Cloudflare R2
All checks were successful
CI / Verify Quality & Build (pull_request) Successful in 1m3s
cc5ac10e0b
yuris merged commit 79121499c7 into main 2026-10-15 01:21:53 +00:00
yuris deleted branch feat/ci-sync-tiles-workflow 2026-10-15 01:21:53 +00:00
Sign in to join this conversation.
No reviewers
No labels
backend
frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/titik-gambut-next!104
No description provided.