ci(ingestion): scheduled CI/CD workflow to compile and sync PMTiles archives to Cloudflare R2 #102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context & Purpose
To keep Git repository history lean and ensure production vector tiles are fresh, the spatial compilation pipeline must run in an ephemeral CI/CD environment or scheduled workflow rather than burning persistent worker daemon memory.
Because cadastral boundaries and peatland depth maps change slowly (monthly / quarterly), a scheduled monthly workflow will re-scrape government GIS layers and push fresh
.pmtilesarchives to Cloudflare R2.Technical Specification
.forgejo/workflows/sync-tiles-r2.yml):schedule: - cron: "0 2 1 * *"(2:00 AM UTC on the 1st of every month).workflow_dispatch(manual trigger).python3 scripts/ingest-real-concessions.py(fetches 654 authentic boundaries from BIG Satu Peta to.cache/).bash scripts/build-concessions-pmtiles.sh(emitspublic/tiles/concessions.pmtiles).scripts/upload-tiles-r2.mjsorrclonewith repository secrets.Acceptance Criteria
.forgejo/workflows/sync-tiles-r2.ymlauthored and committed.workflow_dispatchrun successfully compiles and uploads tiles to R2.