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

gurwls223 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 5b07e52c987c [SPARK-52180][INFRA] Create artifacts for output and log 
files in dry-run build
5b07e52c987c is described below

commit 5b07e52c987c3297606587cf3766d4aa7629e9ad
Author: Hyukjin Kwon <gurwls...@apache.org>
AuthorDate: Fri May 16 19:39:03 2025 +0900

    [SPARK-52180][INFRA] Create artifacts for output and log files in dry-run 
build
    
    ### What changes were proposed in this pull request?
    
    This PR uploads the logs and output from the dryrun in Apache Spark release 
build.
    
    ### Why are the changes needed?
    
    So we can debug and verify the output.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, dev-only.
    
    ### How was this patch tested?
    
    Manually tested in my fork: 
https://github.com/HyukjinKwon/spark/actions/runs/15063283075/job/42342427884
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #50912 from HyukjinKwon/SPARK-52180.
    
    Authored-by: Hyukjin Kwon <gurwls...@apache.org>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 .github/workflows/release.yml | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0c229fd6955d..fa7a0c83ed6c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -53,11 +53,11 @@ jobs:
           EOF
 
           # Paths
-          RELEASE_DIR=~/spark-release
+          RELEASE_DIR="$PWD"/spark-release
           OUTPUT_DIR="$RELEASE_DIR/output"
           
           # Ensure release dir exists
-          mkdir "$RELEASE_DIR"
+          mkdir -p "$RELEASE_DIR"
           
           # Start the release script in the background
           dev/create-release/do-release-docker.sh -d "$RELEASE_DIR" -n &
@@ -93,3 +93,15 @@ jobs:
           
           # Once release is done, kill the tail processes
           kill $TAIL_PID1 $TAIL_PID2   
+      - name: Upload logs
+        if: always()
+        uses: actions/upload-artifact@v4
+        with:
+          name: build-logs
+          path: spark-release/docker-build.log
+      - name: Upload output
+        if: always()
+        uses: actions/upload-artifact@v4
+        with:
+          name: build-output
+          path: spark-release/output


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

Reply via email to