You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ru...@apache.org on 2024/12/16 14:03:50 UTC

(spark) branch master updated: [SPARK-50583][INFRA][FOLLOW-UP] Fix 3.5 daily build

This is an automated email from the ASF dual-hosted git repository.

ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 868c58730e56 [SPARK-50583][INFRA][FOLLOW-UP] Fix 3.5 daily build
868c58730e56 is described below

commit 868c58730e56dd80276f0bebc6fb3090eaa59f27
Author: Ruifeng Zheng <ru...@apache.org>
AuthorDate: Mon Dec 16 22:03:32 2024 +0800

    [SPARK-50583][INFRA][FOLLOW-UP] Fix 3.5 daily build
    
    ### What changes were proposed in this pull request?
    Fix 3.5 daily build
    
    ```
    if: (inputs.branch != 'branch-3.5') && (${{ env.PYSPARK_IMAGE_TO_TEST }} != '')
    ```
    the condition returns true for branch-3.5
    
    ### Why are the changes needed?
    Fix 3.5 daily build
    
    ### Does this PR introduce _any_ user-facing change?
    no, infra-only
    
    ### How was this patch tested?
    manually check
    
    1, `${{ inputs.branch != 'master' && env.PYSPARK_IMAGE_TO_TEST != '' }}`
    
    skipped in PR build
    
    ![Uploading image.png…]()
    
    https://github.com/zhengruifeng/spark/actions/runs/12354167258/job/34474934451
    
    2, `${{ inputs.branch != 'branch-3.5' && env.PYSPARK_IMAGE_TO_TEST != '' }}`
    
    runned in PR build
    
    ### Was this patch authored or co-authored using generative AI tooling?
    no
    
    Closes #49206 from zhengruifeng/fix_daily_35.
    
    Authored-by: Ruifeng Zheng <ru...@apache.org>
    Signed-off-by: Ruifeng Zheng <ru...@apache.org>
---
 .github/workflows/build_and_test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 174a8aa6bacb..f827cb9a6373 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -466,7 +466,7 @@ jobs:
           # Use the infra image cache to speed up
           cache-from: type=registry,ref=ghcr.io/apache/spark/apache-spark-github-action-image-sparkr-cache:${{ inputs.branch }}
       - name: Build and push (PySpark with ${{ env.PYSPARK_IMAGE_TO_TEST }})
-        if: (inputs.branch != 'branch-3.5') && (${{ env.PYSPARK_IMAGE_TO_TEST }} != '')
+        if: ${{ inputs.branch != 'branch-3.5' && env.PYSPARK_IMAGE_TO_TEST != '' }}
         id: docker_build_pyspark
         env: ${{ fromJSON(inputs.envs) }}
         uses: docker/build-push-action@v6


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org