Skip to content

Commit

Permalink
solr debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-gesinn committed Dec 12, 2024
1 parent c44f9f0 commit aba1db3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,13 @@ jobs:
- name: Install curl
run: apt-get update && apt-get install -y curl

- name: Check Solr schema version
run: curl -s "http://solr:8983/solr/ckan/admin/file?file=schema.xml"
- name: Check Solr
run: |
echo "Checking Solr core status..."
curl -f http://solr:8983/solr/admin/cores?action=STATUS || echo "Solr core status failed"
echo "Checking schema.xml..."
curl -f -s "http://solr:8983/solr/ckan/admin/file?file=schema.xml" || echo "schema.xml not found"
- name: Fetch Solr logs
run: docker logs $(docker ps -qf "ancestor=ckan/ckan-solr:${{ matrix.ckan-version }}-solr9") || true
Expand Down

0 comments on commit aba1db3

Please sign in to comment.