You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ds...@apache.org on 2024/02/03 20:53:59 UTC
(solr) branch main updated: GHA/Crave: update to account for the new clone location (#2224)
This is an automated email from the ASF dual-hosted git repository.
dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new e190d7a5bd8 GHA/Crave: update to account for the new clone location (#2224)
e190d7a5bd8 is described below
commit e190d7a5bd8d02e9a353696b4f1461a172b08282
Author: uvatbc <uv...@users.noreply.github.com>
AuthorDate: Sat Feb 3 12:53:53 2024 -0800
GHA/Crave: update to account for the new clone location (#2224)
With the recent change to the cloning mechanism in Crave, the sources
are cloned in a slightly different location: Instead of it being inside
a solr subdirectory, it will be in the parent.
Fix the GHA yaml to account for this.
---
.github/workflows/tests-via-crave.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/tests-via-crave.yml b/.github/workflows/tests-via-crave.yml
index 1e8e8843637..1a51a5eb393 100644
--- a/.github/workflows/tests-via-crave.yml
+++ b/.github/workflows/tests-via-crave.yml
@@ -19,11 +19,11 @@ jobs:
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 fetch origin ${GITHUB_REF}:${GITHUB_REF}
- git -C /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}/solr checkout ${GITHUB_REF}
+ git -C /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER} fetch origin ${GITHUB_REF}:${GITHUB_REF}
+ git -C /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER} checkout ${GITHUB_REF}
- name: Initialize, build, test
run: |
- cd /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}/solr
+ cd /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}
crave run --clean
- name: Delete Clone
run: crave clone destroy -y /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}