Updated no-superuser install ci test

Added nominatim_database_webuser (www-data).
Set non-superuser password for importing
This commit is contained in:
Robbe Haesendonck 2023-09-27 15:28:21 +02:00 committed by Sarah Hoffmann
parent 9c7d947fd1
commit 59ae63e6f5

View File

@ -424,7 +424,9 @@ jobs:
- name: Create import user
run: |
sudo -u postgres createuser -S osm-import -P osm-import
sudo -u postgres createuser -S osm-import
sudo -u postgres psql -c "ALTER USER \"osm-import\" WITH PASSWORD 'osm-import';"
sudo -u postgres createuser -S www-data
working-directory: /home/nominatim/nominatim-project
- name: Grant import user rights