SOLR-18130: rename parameter "zkHost" to "solrCloud" in "solrj-streaming" #17133
Workflow file for this run
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: Solr Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Run Solr Tests using Crave.io resources | |
| runs-on: self-hosted | |
| timeout-minutes: 40 | |
| env: | |
| # Use a PR-scoped workspace path so that each new run for the same PR | |
| # destroys any leftover resources from a previous run (including cancelled | |
| # runs whose cleanup step may not have completed in time). | |
| CRAVE_WORKSPACE: /crave-devspaces/pipeline/prs/${{ github.event.pull_request.number }} | |
| steps: | |
| - name: Destroy previous clone | |
| run: crave clone destroy -y ${CRAVE_WORKSPACE} || echo "Clone did not exist" | |
| continue-on-error: true | |
| - name: Crave clone sources | |
| run: crave clone create --projectID 39 ${CRAVE_WORKSPACE} | |
| - name: Checkout the correct branch | |
| run: | | |
| git -C ${CRAVE_WORKSPACE} fetch origin ${GITHUB_REF}:${GITHUB_REF} | |
| git -C ${CRAVE_WORKSPACE} checkout ${GITHUB_REF} | |
| - name: Initialize, build, test | |
| run: | | |
| cd ${CRAVE_WORKSPACE} | |
| crave run --clean --message "PR: ${GITHUB_REF_NAME}" -- ./gradlew --console=plain test | |
| - name: Cleanup | |
| if: ${{ always() }} | |
| run: | | |
| pushd ${CRAVE_WORKSPACE} | |
| crave stop --all | |
| popd | |
| crave clone destroy -y ${CRAVE_WORKSPACE} |