@@ -37,33 +37,33 @@ jobs:
3737 fi
3838 echo "Tag is from a valid branch."
3939
40- - name : Verify smoke tests passed
41- run : |
42- echo "Checking smoke test results for commit $COMMIT_SHA..."
40+ # - name: Verify smoke tests passed
41+ # run: |
42+ # echo "Checking smoke test results for commit $COMMIT_SHA..."
4343
44- # Find smoke test runs for this commit
45- RUN_INFO=$(gh run list --workflow=smoke-tests-sagemaker.yaml --json headSha,conclusion,status --limit 50 | \
46- jq -r --arg sha "$COMMIT_SHA" '.[] | select(.headSha == $sha) | "\(.status) \(.conclusion)"' | head -1)
44+ # # Find smoke test runs for this commit
45+ # RUN_INFO=$(gh run list --workflow=smoke-tests-sagemaker.yaml --json headSha,conclusion,status --limit 50 | \
46+ # jq -r --arg sha "$COMMIT_SHA" '.[] | select(.headSha == $sha) | "\(.status) \(.conclusion)"' | head -1)
4747
48- if [ -z "$RUN_INFO" ]; then
49- echo "Error: No smoke test run found for commit $COMMIT_SHA"
50- exit 1
51- fi
48+ # if [ -z "$RUN_INFO" ]; then
49+ # echo "Error: No smoke test run found for commit $COMMIT_SHA"
50+ # exit 1
51+ # fi
5252
53- STATUS=$(echo "$RUN_INFO" | cut -d' ' -f1)
54- CONCLUSION=$(echo "$RUN_INFO" | cut -d' ' -f2)
53+ # STATUS=$(echo "$RUN_INFO" | cut -d' ' -f1)
54+ # CONCLUSION=$(echo "$RUN_INFO" | cut -d' ' -f2)
5555
56- if [ "$STATUS" != "completed" ]; then
57- echo "Error: Smoke tests not completed (status: $STATUS)"
58- exit 1
59- fi
56+ # if [ "$STATUS" != "completed" ]; then
57+ # echo "Error: Smoke tests not completed (status: $STATUS)"
58+ # exit 1
59+ # fi
6060
61- if [ "$CONCLUSION" != "success" ]; then
62- echo "Error: Smoke tests failed (conclusion: $CONCLUSION)"
63- exit 1
64- fi
61+ # if [ "$CONCLUSION" != "success" ]; then
62+ # echo "Error: Smoke tests failed (conclusion: $CONCLUSION)"
63+ # exit 1
64+ # fi
6565
66- echo "Smoke tests passed for commit $COMMIT_SHA"
66+ # echo "Smoke tests passed for commit $COMMIT_SHA"
6767
6868 - name : Download sagemaker artifacts by commit ID
6969 run : |
@@ -163,4 +163,4 @@ jobs:
163163 --namespace "GitHub/Workflows" \
164164 --metric-name "ExecutionsFailed" \
165165 --dimensions "Repository=$REPOSITORY,Workflow=Release" \
166- --value 1
166+ --value 1
0 commit comments