]> git.openstreetmap.org Git - nominatim.git/commitdiff
Updated no-superuser install ci test
authorRobbe Haesendonck <googleit@inuits.eu>
Wed, 27 Sep 2023 13:28:21 +0000 (15:28 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Dec 2023 08:04:33 +0000 (09:04 +0100)
Added nominatim_database_webuser (www-data).
Set non-superuser password for importing

.github/workflows/ci-tests.yml

index c466e0c1b68a7bb34e6c4e19a7a5cfa21d03f525..3f6185440a8645a4f504585b3905aec1d8733f93 100644 (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