From 3398ec81a3e853a10d7fbb1ae43fa933864aab0b Mon Sep 17 00:00:00 2001 From: sachinh-amazon <188173965+sachinh-amazon@users.noreply.github.com> Date: Mon, 9 Feb 2026 17:55:15 +0100 Subject: [PATCH] Disable smoke test verification in release.yaml Comment out smoke test verification steps in release workflow. --- .github/workflows/release.yaml | 44 +++++++++++++++++----------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 00ba10b..00e9bb1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,33 +37,33 @@ jobs: fi echo "Tag is from a valid branch." - - name: Verify smoke tests passed - run: | - echo "Checking smoke test results for commit $COMMIT_SHA..." + # - name: Verify smoke tests passed + # run: | + # echo "Checking smoke test results for commit $COMMIT_SHA..." - # Find smoke test runs for this commit - RUN_INFO=$(gh run list --workflow=smoke-tests-sagemaker.yaml --json headSha,conclusion,status --limit 50 | \ - jq -r --arg sha "$COMMIT_SHA" '.[] | select(.headSha == $sha) | "\(.status) \(.conclusion)"' | head -1) + # # Find smoke test runs for this commit + # RUN_INFO=$(gh run list --workflow=smoke-tests-sagemaker.yaml --json headSha,conclusion,status --limit 50 | \ + # jq -r --arg sha "$COMMIT_SHA" '.[] | select(.headSha == $sha) | "\(.status) \(.conclusion)"' | head -1) - if [ -z "$RUN_INFO" ]; then - echo "Error: No smoke test run found for commit $COMMIT_SHA" - exit 1 - fi + # if [ -z "$RUN_INFO" ]; then + # echo "Error: No smoke test run found for commit $COMMIT_SHA" + # exit 1 + # fi - STATUS=$(echo "$RUN_INFO" | cut -d' ' -f1) - CONCLUSION=$(echo "$RUN_INFO" | cut -d' ' -f2) + # STATUS=$(echo "$RUN_INFO" | cut -d' ' -f1) + # CONCLUSION=$(echo "$RUN_INFO" | cut -d' ' -f2) - if [ "$STATUS" != "completed" ]; then - echo "Error: Smoke tests not completed (status: $STATUS)" - exit 1 - fi + # if [ "$STATUS" != "completed" ]; then + # echo "Error: Smoke tests not completed (status: $STATUS)" + # exit 1 + # fi - if [ "$CONCLUSION" != "success" ]; then - echo "Error: Smoke tests failed (conclusion: $CONCLUSION)" - exit 1 - fi + # if [ "$CONCLUSION" != "success" ]; then + # echo "Error: Smoke tests failed (conclusion: $CONCLUSION)" + # exit 1 + # fi - echo "Smoke tests passed for commit $COMMIT_SHA" + # echo "Smoke tests passed for commit $COMMIT_SHA" - name: Download sagemaker artifacts by commit ID run: | @@ -163,4 +163,4 @@ jobs: --namespace "GitHub/Workflows" \ --metric-name "ExecutionsFailed" \ --dimensions "Repository=$REPOSITORY,Workflow=Release" \ - --value 1 \ No newline at end of file + --value 1