[SPARK-49339][INFRA] Use setup-minikube GitHub Action#47832
[SPARK-49339][INFRA] Use setup-minikube GitHub Action#47832TQJADE wants to merge 2 commits intoapache:masterfrom
setup-minikube GitHub Action#47832Conversation
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM (Pending CIs). Thank you, @TQJADE
setup-minikube GitHub Action
| sudo install minikube-linux-amd64 /usr/local/bin/minikube | ||
| rm minikube-linux-amd64 | ||
| - name: Start Minikube | ||
| uses: medyagh/setup-minikube@v0.0.18 |
There was a problem hiding this comment.
why have you pinned the version to 0.0.18 and why not @latest
with this curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 we had the latest always but now it its pinned.
There was a problem hiding this comment.
To @bjornjorgensen , we use pinned GitHub Action always.
$ git grep setup .github/workflows/build_and_test.yml
.github/workflows/build_and_test.yml: uses: actions/setup-java@v4
.github/workflows/build_and_test.yml: uses: actions/setup-python@v5
.github/workflows/build_and_test.yml: uses: docker/setup-qemu-action@v3
.github/workflows/build_and_test.yml: uses: docker/setup-buildx-action@v3
.github/workflows/build_and_test.yml: uses: actions/setup-java@v4
.github/workflows/build_and_test.yml: uses: actions/setup-java@v4
.github/workflows/build_and_test.yml: # The followings are also used by `r-lib/actions/setup-r` to avoid
.github/workflows/build_and_test.yml: uses: bufbuild/buf-setup-action@v1
.github/workflows/build_and_test.yml: uses: actions/setup-python@v5
.github/workflows/build_and_test.yml: uses: actions/setup-java@v4
.github/workflows/build_and_test.yml: uses: actions/setup-java@v4
.github/workflows/build_and_test.yml: uses: actions/setup-java@v4
.github/workflows/build_and_test.yml: uses: actions/setup-java@v4
.github/workflows/build_and_test.yml: uses: actions/setup-java@v4
.github/workflows/build_and_test.yml: uses: actions/setup-node@v4
In addition, the GitHub Action version is irrelevant to the Minikube version. According to the log, it downloads the latest Minikube 1.33.1 like the picture.

There was a problem hiding this comment.
It's the same like setup-java.
There was a problem hiding this comment.
Currently from market place: https://github.com/marketplace/actions/setup-minikube 0.0.18 is the latest.
I think pinning a version will be better to stabilized the test.
|
The PR GHA runs in the contributor's repo, is this action allowed by ASF? |
|
@dongjoon-hyun thanks for information, it's fine then. |
|
Thank you, @pan3793 . |
|
For the record, there is only one irrelevant failure and it's a known flaky one. |
|
from https://github.com/medyagh/setup-minikube/blob/master/action.yml should be pin latest her? EDIT: required: false |
|
Ya, thank you for double-checking, @bjornjorgensen . We don't need that. Merged to master~ |
|
Thank you again, @TQJADE , @bjornjorgensen , @pan3793 . |
What changes were proposed in this pull request?
Use Minikube action
Why are the changes needed?
This is introduced in Minikube doc:
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.