Skip to content

Commit

Permalink
[SPARK-50583][INFRA][FOLLOW-UP] Fix 3.5 daily build
Browse files Browse the repository at this point in the history
### 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 apache#49206 from zhengruifeng/fix_daily_35.

Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
  • Loading branch information
zhengruifeng committed Dec 16, 2024
1 parent 44ab349 commit 868c587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 868c587

Please sign in to comment.