Commit Graph

213 Commits

Author SHA1 Message Date
Florian Stosse
df0bd145d3 Auto install 2025-08-29 14:16:15 +02:00
Florian Stosse
8907bcb752 No sudo 2025-08-29 12:56:20 +02:00
Florian Stosse
ff2b38aa1e PGSQL v17 2025-08-29 12:53:14 +02:00
Florian Stosse
bc5727aeef PGSQL v18 2025-08-29 12:49:44 +02:00
Florian Stosse
de5b314c7c Bump dependencies 2025-08-29 12:46:45 +02:00
Florian Stosse
04a251224e Only initialize if not initialized 2025-08-29 12:46:29 +02:00
Florian Stosse
9464af3261 Save environment variables 2025-08-29 12:42:53 +02:00
Florian Stosse
458b6725da Cleanup download files 2025-08-29 12:39:57 +02:00
Florian Stosse
a14a4548bb Disable JIT in Postgres 2025-08-29 12:39:16 +02:00
Florian Stosse
cecd162cbf Bump to PostgreSQL v19 2025-08-29 12:36:01 +02:00
Florian Stosse
514fc8b138 Fix paths again 2025-08-29 12:32:56 +02:00
Florian Stosse
b44fad777b Fix paths 2025-08-29 12:30:58 +02:00
Florian Stosse
4fdc80519a Fix linting issues 2025-08-29 12:27:26 +02:00
Florian Stosse
939bc727ee Wait for deploy 2025-08-26 18:21:14 +02:00
Florian Stosse
cad3c52719 Add SBOM as job 2025-08-26 18:20:45 +02:00
Florian Stosse
1b46a636c9 Install cosign in deploy job 2025-08-26 17:59:58 +02:00
Florian Stosse
14255f678a Add permissions 2025-08-26 17:50:08 +02:00
Florian Stosse
6e84a8d75c --break-system-packages 2025-08-26 16:51:47 +02:00
Florian Stosse
7a82321bb1 --include-deps 2025-08-26 16:47:47 +02:00
Florian Stosse
42393fbf86 --include-deps 2025-08-26 16:44:09 +02:00
Florian Stosse
d4731dc5c1 Add pipx 2025-08-26 16:41:24 +02:00
Florian Stosse
40524599c9 CI: improve Docker build 2025-08-26 16:38:24 +02:00
Florian Stosse
aea754aacb Switch to pipx 2025-08-26 16:28:37 +02:00
Florian Stosse
e24214ee5b Merge pull request #2 from Harvester57/dependabot/github_actions/actions-dependencies-796ea8f614
actions: bump the actions-dependencies group with 7 updates
2025-08-26 16:25:24 +02:00
dependabot[bot]
f29d029244 actions: bump the actions-dependencies group with 7 updates
Bumps the actions-dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `3.6.0` | `5.0.0` |
| [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `2.2.0` | `3.6.0` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `2.10.0` | `3.11.1` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `3.3.1` | `6.18.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3.2.1` | `4.6.2` |
| [docker/metadata-action](https://github.com/docker/metadata-action) | `4.6.0` | `5.8.0` |
| [docker/login-action](https://github.com/docker/login-action) | `2.2.0` | `3.5.0` |


Updates `actions/checkout` from 3.6.0 to 5.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](f43a0e5ff2...08c6903cd8)

Updates `docker/setup-qemu-action` from 2.2.0 to 3.6.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](2b82ce82d5...29109295f8)

Updates `docker/setup-buildx-action` from 2.10.0 to 3.11.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](885d1462b8...e468171a9d)

Updates `docker/build-push-action` from 3.3.1 to 6.18.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](1104d47137...263435318d)

Updates `actions/upload-artifact` from 3.2.1 to 4.6.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](ff15f0306b...ea165f8d65)

Updates `docker/metadata-action` from 4.6.0 to 5.8.0
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](818d4b7b91...c1e51972af)

Updates `docker/login-action` from 2.2.0 to 3.5.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](465a07811f...184bdaa072)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/setup-qemu-action
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/setup-buildx-action
  dependency-version: 3.11.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/build-push-action
  dependency-version: 6.18.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: actions/upload-artifact
  dependency-version: 4.6.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/metadata-action
  dependency-version: 5.8.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/login-action
  dependency-version: 3.5.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 14:21:18 +00:00
Florian Stosse
5b60f758cd Update dependabot.yml 2025-08-26 16:12:25 +02:00
Florian Stosse
f6a01631c7 Update Dockerfile 2025-08-26 15:21:29 +02:00
Florian Stosse
9ae7367aba Update dependabot.yml 2025-08-26 15:19:01 +02:00
Florian Stosse
70765dcbea Merge pull request #1 from step-security-bot/chore/GHA-261315-stepsecurity-remediation
[StepSecurity] Apply security best practices
2025-08-26 15:16:19 +02:00
StepSecurity Bot
6d521cf63a [StepSecurity] Apply security best practices
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2025-08-26 13:15:43 +00:00
Kai Liebscher
6088b9b37f upgrade carto from v0.18.2 to v1.2.0 (#355) (#359)
Co-authored-by: Kai Liebscher <kliebscher@micromata.de>
2023-06-25 12:34:51 +02:00
Curtis Yung
61270b8bff Add support to PostgreSQL 15 (#356)
* Update Dockerfile

add support to PostgreSQL 15 and alter encryption method to scram-sha-256 instead of md5

* Update run.sh

add support to PostgreSQL 15
2023-03-18 21:45:25 +01:00
galewis2
f6a6ad846a Fix path for consistency (#314) 2023-03-18 21:14:32 +01:00
Stepan
e144c4873b readme give possibility to copy/paste command into linux terminal (#368) 2023-03-18 21:10:32 +01:00
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
Mikael Wikstrom
a814c0306a upgrade leaflet from v1.7.1 to v1.8.0 (#315)
Leaflet 1.8.0	Stable version, released on April 18, 2022.
Leaflet 1.7.1	Previous stable version, released on September 3, 2020.

install leaflet localy so server works offline

Co-authored-by: galewis2 <62433564+galewis2@users.noreply.github.com>
2022-09-27 10:03:13 -04:00
Mikael Wikstrom
fdacfe78ef Add favicon.ico (#316) 2022-09-27 10:00:44 -04:00
galewis2
54624a969e Update Dockerfile (#307) 2022-08-03 23:40:03 +02:00
balchen
005fe6968f Added new environment variables for tile expiration to README.md (#299) 2022-07-26 23:10:49 +02:00
galewis2
25a661e3da Actually allow modifying the replication URL (#297) 2022-07-22 09:18:24 -04:00
balchen
67d127b201 Use tile expiration settings from env if set, or default values as be… (#296)
* Use tile expiration settings from env if set, or default values as before.

* Update openstreetmap-tiles-update-expire.sh

Co-authored-by: galewis2 <62433564+galewis2@users.noreply.github.com>
2022-07-22 13:33:07 +02: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
galewis2
21b409863e Simplify parsing of timestamp (#294) 2022-07-15 08:19:46 -04:00
galewis2
81c3433055 Reduce dependencies for updates, switch to Ubuntu 22.04 (#234) 2022-07-05 08:23:15 -04:00
Robin C. Ladiges
dc47871a5d warn about FLAT_NODES w/ UPDATES incompatibility (#282)
See https://github.com/Zverik/regional/issues/17
2022-05-25 22:21:56 +02:00
Robin C. Ladiges
5572c9722e create /data/database/postgres/ if missing (#273)
fix for issue #271
2022-05-02 00:43: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
ef7ba04540 badge with latest semver tag on docker hub (#262) 2022-04-08 23:48:31 +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