Skip to content

Commit

Permalink
AllegroGraph v8.0.1 update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Jan 26, 2024
1 parent 4b6b7f4 commit bd3e741
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
30 changes: 15 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ services:
GOO_BACKEND_NAME: ag
GOO_PORT: 10035
GOO_HOST: agraph-ut
GOO_PATH_QUERY: /repositories/bioportal_test
GOO_PATH_DATA: /repositories/bioportal_test/statements
GOO_PATH_UPDATE: /repositories/bioportal_test/statements
GOO_PATH_QUERY: /repositories/ontoportal_test
GOO_PATH_DATA: /repositories/ontoportal_test/statements
GOO_PATH_UPDATE: /repositories/ontoportal_test/statements
profiles:
- agraph
depends_on:
Expand Down Expand Up @@ -92,7 +92,7 @@ services:
image: solr:8
volumes:
- ./test/solr/configsets:/configsets:ro
#ports:
# ports:
# - "8983:8983"
command: ["solr-precreate", "term_search_core1", "/configsets/term_search"]
healthcheck:
Expand All @@ -106,7 +106,7 @@ services:
image: solr:8
volumes:
- ./test/solr/configsets:/configsets:ro
#ports:
# ports:
# - "8984:8983"
command: ["solr-precreate", "prop_search_core1", "/configsets/property_search"]
healthcheck:
Expand All @@ -117,26 +117,26 @@ services:
retries: 5

agraph-ut:
image: franzinc/agraph:v8.0.0
image: franzinc/agraph:v8.0.1
platform: linux/amd64
environment:
- AGRAPH_SUPER_USER=test
- AGRAPH_SUPER_PASSWORD=xyzzy
shm_size: 1g
# ports:
# - 10035:10035
# ports:
# - 10035:10035
command: >
bash -c "/agraph/bin/agraph-control --config /agraph/etc/agraph.cfg start
; agtool repos create bioportal_test
; agtool repos create --supersede ontoportal_test
; agtool users add anonymous
; agtool users grant anonymous root:bioportal_test:rw
; agtool users grant anonymous root:ontoportal_test:rw
; tail -f /agraph/data/agraph.log"
healthcheck:
test: ["CMD-SHELL", "agtool storage-report bioportal_test || exit 1"]
start_period: 10s
interval: 60s
timeout: 5s
retries: 3
test: ["CMD-SHELL", "agtool storage-report ontoportal_test || exit 1"]
start_period: 30s #AllegroGraph can take a loooooong time to start
interval: 20s
timeout: 10s
retries: 20
profiles:
- agraph

Expand Down
7 changes: 4 additions & 3 deletions run-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ DC='docker compose'
test/solr/generate_ncbo_configsets.sh

# build docker containers
$DC run --rm ruby bundle exec rake test TESTOPTS='-v'
#$DC run --rm ruby bundle exec rake test TESTOPTS='-v'
# run unit test with AG backend
#$DC run --rm ruby-agraph bundle exec rake test TESTOPTS='-v'
$DC stop
$DC run --rm ruby-agraph bundle exec rake test TESTOPTS='-v'

$DC --profile agraph --profile 4store stop

0 comments on commit bd3e741

Please sign in to comment.