Scripts: don't cancel in progress build

This commit is contained in:
Pieter Vander Vennet 2025-06-07 15:02:01 +02:00
parent 66d455a475
commit bcfcb4da6b

View file

@ -6,6 +6,9 @@ on:
jobs: jobs:
update_database: update_database:
concurrency:
group: update-database
cancel-in-progress: false
runs-on: [ osm-cache ] runs-on: [ osm-cache ]
steps: steps:
- uses: https://source.mapcomplete.org/actions/checkout@v4 - uses: https://source.mapcomplete.org/actions/checkout@v4
@ -31,7 +34,7 @@ jobs:
# Create a new database in postgres # Create a new database in postgres
npm run create:database -- -- $DATE --overwrite npm run create:database -- -- $DATE --overwrite
echo "Seeding database '$DATE'" echo "Seeding database '$DATE'"
osm2pgsql -O flex -S build_db.lua -s --flat-nodes=import-help-file -d postgresql://user:password@localhost:5444/osm-poi.${DATE} /data/planet-latest.osm.pbf osm2pgsql --cache 100000 -O flex -S build_db.lua -d postgresql://user:password@localhost:5444/osm-poi.${DATE} /data/planet-latest.osm.pbf
npm run delete:database:old npm run delete:database:old