Skip to content

Commit 08fa591

Browse files
print image build test commit (#856)
Signed-off-by: chensuyue <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (cherry picked from commit 3ce3955)
1 parent 6d4b3d6 commit 08fa591

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/_example-workflow.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,33 +46,34 @@ jobs:
4646
- name: Clean Up Working Directory
4747
run: sudo rm -rf ${{github.workspace}}/*
4848

49-
- name: Get checkout ref
49+
- name: Get Checkout Ref
5050
run: |
5151
if [ "${{ github.event_name }}" == "pull_request" ] || [ "${{ github.event_name }}" == "pull_request_target" ]; then
5252
echo "CHECKOUT_REF=refs/pull/${{ github.event.number }}/merge" >> $GITHUB_ENV
5353
else
5454
echo "CHECKOUT_REF=${{ github.ref }}" >> $GITHUB_ENV
5555
fi
56-
echo "checkout ref ${{ env.CHECKOUT_REF }}"
5756
58-
- name: Checkout out Repo
57+
- name: Checkout out GenAIExamples
5958
uses: actions/checkout@v4
6059
with:
6160
ref: ${{ env.CHECKOUT_REF }}
6261
fetch-depth: 0
6362

64-
- name: Clone required Repo
63+
- name: Clone Required Repo
6564
run: |
6665
cd ${{ github.workspace }}/${{ inputs.example }}/docker_image_build
6766
docker_compose_path=${{ github.workspace }}/${{ inputs.example }}/docker_image_build/build.yaml
6867
if [[ $(grep -c "tei-gaudi:" ${docker_compose_path}) != 0 ]]; then
6968
git clone https://github.com/huggingface/tei-gaudi.git
69+
cd tei-gaudi && git rev-parse HEAD && cd ../
7070
fi
7171
if [[ $(grep -c "vllm:" ${docker_compose_path}) != 0 ]]; then
7272
git clone https://github.com/vllm-project/vllm.git
73+
cd vllm && git rev-parse HEAD && cd ../
7374
fi
7475
git clone https://github.com/opea-project/GenAIComps.git
75-
cd GenAIComps && git checkout ${{ inputs.opea_branch }} && cd ../
76+
cd GenAIComps && git checkout ${{ inputs.opea_branch }} && git rev-parse HEAD && cd ../
7677
7778
- name: Build Image
7879
if: ${{ fromJSON(inputs.build) }}

0 commit comments

Comments
 (0)