forked from MapComplete/MapComplete
Scripts: don't cancel in progress build
This commit is contained in:
parent
66d455a475
commit
bcfcb4da6b
1 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@ on:
|
|||
|
||||
jobs:
|
||||
update_database:
|
||||
concurrency:
|
||||
group: update-database
|
||||
cancel-in-progress: false
|
||||
runs-on: [ osm-cache ]
|
||||
steps:
|
||||
- uses: https://source.mapcomplete.org/actions/checkout@v4
|
||||
|
@ -31,7 +34,7 @@ jobs:
|
|||
# Create a new database in postgres
|
||||
npm run create:database -- -- $DATE --overwrite
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue