feat: consume dmv deck.gl bulk annotations; drop clustering UI #629
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: slim/container-tests | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| build-and-test-containers: | |
| name: "Build and test containers" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Build and run containers using docker compose | |
| run: docker compose up -d | |
| - name: Test web page | |
| run: | | |
| curl -sI http://localhost:8008/ | grep -o '200 OK' | |
| curl -s http://localhost:8008/ | grep -o '<title>Slim</title>' | |
| - name: Test DICOMweb service | |
| run: | | |
| # Poll instead of a fixed sleep: the archive can take a while to boot. | |
| for i in $(seq 1 30); do | |
| if curl -sI http://localhost:8008/dcm4chee-arc/aets/DCM4CHEE/rs/studies | grep -o '204 No Content'; then | |
| exit 0 | |
| fi | |
| sleep 5 | |
| done | |
| echo "DICOMweb service did not become ready in time" | |
| exit 1 | |
| - name: Wildfly internal server.log | |
| if: always() | |
| run: | | |
| docker cp dcm4chee-arc:/opt/wildfly/standalone/log/server.log ./server.log || echo "Log not found" | |
| cat ./server.log || echo "Log not found" |