Commit Graph

5 Commits

Author SHA1 Message Date
Robin C. Ladiges 10571b77b7
validate version tags (#308)
so non-semver tags don't trigger a deployment that will fail.

It's not a normal regexp syntax. Dots `.` will only match dots and not any characters.
2022-09-27 10:04:05 -04:00
Robin C. Ladiges afd62f33a0
multiarch build for additional linux/arm64/v8 support (#292)
* multiarch build for additional linux/arm64/v8 and linux/arm/v7 support

This commit fixes issue #291

* print logs of run command

* drop arm/v7 for now (untested)

* build arm64/v8 parallel during the build stage (without testing the image)
2022-07-19 08:59:17 +02:00
Robin C. Ladiges cffbd7be5b
changed volume paths ; FLAT_NODES=enabled (#261)
Changes:
- /var/lib/postgresql/14/main/            => /data/database/
- /var/lib/mod_tile/                      => /data/tiles/
- /home/renderer/src/openstreetmap-carto/ => /data/style/
- /data.osm.pbf                           => /data/region.osm.pbf
- /data.poly                              => /data/region.poly
- /nodes/flat_nodes.bin                   => deprecated (use FLAT_NODES=enabled instead)

Because some files are needed later and should never be separated from the database, the import does save those files now into /data/databases/:
- /data/database/region.poly
- /data/database/flat_nodes.bin
- /data/database/planet-import-complete
- and automatic update artifacts
2022-04-09 15:00:29 +02:00
Robin C. Ladiges d0673dc72d
cancel outdated jobs for the same reference (#263) 2022-04-09 08:45:57 +02:00
Robin C. Ladiges 522f66437c
Build, test and deploy with Github Actions (#260)
* workflow: build and test pushes and pull_requests to master ; deploy image to GHCR

* improved tiles verification (*)

- Export the tiles as an artifact before verifying.
- Only empty.png is verified via checksum.
- Verify that all tiles are image/png files.
- Verify that all tiles are different from another.

* import and start the test server with automatic updates

* DockerHub deployment (*)

if secrets.DOCKERHUB_USERNAME and secrets.DOCKERHUB_PASSWORD are non-empty
2022-04-08 22:50:56 +02:00