From 967e47586d5e604a56b795c9bec46b742c30f5c7 Mon Sep 17 00:00:00 2001 From: Stuti Ravikiran Wali Date: Mon, 25 May 2026 12:52:30 +0530 Subject: [PATCH] Update currency-build.yaml --- .github/workflows/currency-build.yaml | 93 --------------------------- 1 file changed, 93 deletions(-) diff --git a/.github/workflows/currency-build.yaml b/.github/workflows/currency-build.yaml index 51c75e47d3..9d8e3a3d58 100644 --- a/.github/workflows/currency-build.yaml +++ b/.github/workflows/currency-build.yaml @@ -181,97 +181,7 @@ jobs: name: updated-package-cache path: package-cache.tar.gz - wheel_build_py39: - needs: build_info - if: ${{ inputs.wheel_build == 'true' }} - runs-on: ${{ inputs.large-runner-label != '' && inputs.large-runner-label || 'ubuntu-24.04-ppc64le-p10' }} - continue-on-error: true - env: - GHA_CURRENCY_SERVICE_ID_API_KEY: ${{ secrets.GHA_CURRENCY_SERVICE_ID_API_KEY }} - GHA_CURRENCY_SERVICE_ID: ${{ secrets.GHA_CURRENCY_SERVICE_ID }} - PYTHON_VERSION: "3.9" - PACKAGE_NAME: ${{ inputs.package_name }} - VERSION: ${{ inputs.version }} - - steps: - - name: Checkout code - uses: actions/checkout@v6 - with: - fetch-depth: 0 # required for getting all the commits not just the latest commits - - - name: Install system dependencies - run: | - sudo apt update -y - - - name: Download package-cache from previous step - uses: actions/download-artifact@v7 - with: - name: package-cache - - - name: Extract package cache - run: tar -xzf package-cache.tar.gz - - - name: Run build_wheels.sh - run: | - ls - echo "---------------------updated cache-----------------------" - ls package-cache - chmod +x package-cache/variable.sh - chmod +x package-cache/scanner-env.sh - source package-cache/variable.sh - source package-cache/scanner-env.sh - - echo "===== Checking files before log compression =====" - pwd - ls -lh - chmod +x ./gha-script/build_wheels.sh - bash ./gha-script/build_wheels.sh - - echo "===========after execution ==================" - sudo apt update -y - sudo lsb_release -a 2>/dev/null || echo "lsb_release not available" - sudo uname -a - - echo "===== AFTER BUILD: checking for wheel_build_log =====" - WORKSPACE=$(pwd) - echo "Workspace = $WORKSPACE" - ls -lh - - echo "----- specifically checking for wheel_build_log -----" - ls -lh "$WORKSPACE/wheel_build_log" || echo "wheel_build_log NOT found!" - - # ======= HANDLE LOG FILE SAFELY ======= - LOG_NAME="${PACKAGE_NAME}_${VERSION}_wheel_py39_log.gz" - - if [ -f "$WORKSPACE/wheel_build_log" ]; then - echo "Found wheel_build_log — compressing it" - gzip "$WORKSPACE/wheel_build_log" - mv "$WORKSPACE/wheel_build_log.gz" "$WORKSPACE/$LOG_NAME" - else - echo "wheel_build_log missing — creating fallback log" - echo "Wheel build completed for ${PACKAGE_NAME} ${VERSION} on Python 3.9" \ - > "$WORKSPACE/${PACKAGE_NAME}_${VERSION}_wheel_py39_log" - gzip "$WORKSPACE/${PACKAGE_NAME}_${VERSION}_wheel_py39_log" - LOG_NAME="${PACKAGE_NAME}_${VERSION}_wheel_py39_log.gz" - fi - - echo "Final log file to upload: $LOG_NAME" - chmod +x ./gha-script/upload-scripts/upload_file.sh - bash ./gha-script/upload-scripts/upload_file.sh $LOG_NAME - ls -lh "$WORKSPACE/$LOG_NAME" - - name: Upload wheel artifact using custom script - run: | - if ls *.whl 1> /dev/null 2>&1; then - sudo chmod a+r *.whl - WHEEL_FILE=$(ls *.whl) - SHA256_VALUE=$(cat sha256.sha) - chmod +x ./gha-script/upload-scripts/upload_wheel.sh - bash ./gha-script/upload-scripts/upload_wheel.sh $WHEEL_FILE $SHA256_VALUE - else - echo "No wheel file found!" - exit 1 - fi wheel_build_py310: needs: build_info @@ -715,7 +625,6 @@ jobs: wheel_licenses: if: ${{ always() && inputs.wheel_build == 'true' }} needs: - - wheel_build_py39 - wheel_build_py310 - wheel_build_py311 - wheel_build_py312 @@ -771,7 +680,6 @@ jobs: wheel_scanner: if: ${{ always() && inputs.wheel_build == 'true' }} needs: - - wheel_build_py39 - wheel_build_py310 - wheel_build_py311 - wheel_build_py312 @@ -1019,7 +927,6 @@ jobs: needs: - build - source_scanner - - wheel_build_py39 - wheel_build_py310 - wheel_build_py311 - wheel_build_py312