Apache Solr open-source search software
GitHub: tests-via-crave.yml should use self-hosted runner (#2112)
David Smileya35b746f4cab
diff --git a/.github/workflows/tests-via-crave.yml b/.github/workflows/tests-via-crave.ymlindex 5972f1021b2..13bd91e5c9e 100644--- a/.github/workflows/tests-via-crave.yml+++ b/.github/workflows/tests-via-crave.yml@@ -9,13 +9,18 @@ jobs:test:name: Run Solr Tests using Crave.io resources- runs-on: ubuntu-latest+ runs-on: self-hostedsteps:- - uses: actions/checkout@v3- with:- fetch-depth: 0- - name: Get the Crave binary- run: curl -s https://raw.githubusercontent.com/accupara/crave/master/get_crave.sh | bash -s --+ - name: Destroy previous clone+ run: crave clone destroy -y /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER} || echo "Clone did not exist"+ continue-on-error: true+ - name: Crave clone sources+ run: crave clone create --projectID 39 /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}+ - name: Checkout the correct branch+ run: git -C /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}/solr checkout ${GITHUB_HEAD_REF} || echo "${GITHUB_HEAD_REF} not present on solr repo, staying at main"+ continue-on-error: true- name: Initialize, build, test- run: ./crave run --clean+ run: crave run --clean+ - name: Delete Clone+ run: crave clone destroy -y /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}