Skip to content

Merge pull request #153 from glenrobson/support-v3 #91

Merge pull request #153 from glenrobson/support-v3

Merge pull request #153 from glenrobson/support-v3 #91

Workflow file for this run

name: SOLR Cloud
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Starting SOLR
run: docker compose -f docker/sas-solr-cloud/compose.yaml --project-directory . up -d
- name: Wait for SOLR to start
run: docker exec -t solr1 /opt/docker-solr/scripts/wait-for-solr.sh --max-attempts 10 --wait-seconds 5 --solr-url http://0.0.0.0:8983/
# Due to the way docker-compose and SOLR works we can't access the SOLR cloud
# from this machine. Instead we have to run the test within the cluster
- name: Run Tests
run: docker exec --workdir /usr/src/sas simpleannotationserver_web_1 /usr/bin/mvn -q test