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

dongjoon 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 98c7f519c09a [SPARK-49339][INFRA] Use `setup-minikube` GitHub Action
98c7f519c09a is described below

commit 98c7f519c09a1bebc20db43a158fefbc95b9eb52
Author: Qi Tan <[email protected]>
AuthorDate: Thu Aug 22 08:48:19 2024 -0700

    [SPARK-49339][INFRA] Use `setup-minikube` GitHub Action
    
    ### What changes were proposed in this pull request?
    
    Use Minikube action
    
    ### Why are the changes needed?
    
    This is introduced in Minikube doc:
    - 
https://minikube.sigs.k8s.io/docs/tutorials/setup_minikube_in_github_actions/
    - https://github.com/marketplace/actions/setup-minikube
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, this is a infra change.
    
    ### How was this patch tested?
    
    Pass the CIs and check the CI log on this PR.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #47832 from TQJADE/SPARK-49339.
    
    Lead-authored-by: Qi Tan <[email protected]>
    Co-authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index a6e963444952..0bf7e57c364e 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -1112,14 +1112,12 @@ jobs:
         with:
           distribution: zulu
           java-version: ${{ inputs.java }}
-      - name: start minikube
-        run: |
-          # See more in "Installation" https://minikube.sigs.k8s.io/docs/start/
-          curl -LO 
https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
-          sudo install minikube-linux-amd64 /usr/local/bin/minikube
-          rm minikube-linux-amd64
+      - name: Start Minikube
+        uses: medyagh/[email protected]
+        with:
           # Github Action limit cpu:2, memory: 6947MB, limit to 2U6G for 
better resource statistic
-          minikube start --cpus 2 --memory 6144
+          cpus: 2
+          memory: 6144m
       - name: Print K8S pods and nodes info
         run: |
           kubectl get pods -A


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to