CI: Add volume for solr

This commit is contained in:
Joshua Root
2025-08-21 01:08:28 +10:00
parent d7bfb6fb89
commit db3fb72de7
+3 -1
View File
@@ -28,6 +28,8 @@ jobs:
image: solr:9
ports:
- 8983:8983
volumes:
- /var/solr:/var/solr
memcached:
image: memcached:1.6
@@ -60,7 +62,7 @@ jobs:
- name: Configure solr
run: |
cd app
python manage.py build_solr_schema --configure-directory=/solr/server/solr/tester/conf
python manage.py build_solr_schema --configure-directory=/var/solr/server/solr/tester/conf
python manage.py build_solr_schema -r RELOAD_CORE
python manage.py rebuild_index --noinput
- name: Create and run migrations