Skip to content

Commit 3c50fda

Browse files
committed
[SPARK-54467][INFRA] Disable actions/cache on MacOS CIs
### What changes were proposed in this pull request? This PR aims to disable `actions/cache` on MacOS CIs and remove `timeout-minutes` temporarily. - SPARK-54466 (Re-enable `actions/cache` on MacOS) is filed to recover this back after GitHub Action outage is resolved. ### Why are the changes needed? Currently, GitHub Action has an outage on `actions/cache` step due to `hashFiles` fails . - https://github.com/orgs/community/discussions/180160 - actions/runner-images#13341 Apache Spark MacOS CIs are affected like the following currently. - https://github.com/apache/spark/actions/workflows/build_maven_java21_macos26.yml - https://github.com/apache/spark/actions/workflows/build_python_3.11_macos.yml - https://github.com/apache/spark/actions/workflows/build_python_3.11_macos26.yml > Error: The template is not valid. apache/spark/.github/workflows/python_hosted_runner_test.yml01fa49b9755f324d9d30cf1e61b07188a59342c7 (Line: 126, Col: 16): hashFiles('**/pom.xml, project/build.properties, build/mvn, build/sbt, build/sbt-launch-lib.bash, build/spark-build-info') failed. Fail to hash files under directory '/Users/runner/work/spark/spark' ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #53180 from dongjoon-hyun/SPARK-54467. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 3861ba4 commit 3c50fda

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/maven_test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
build:
5757
name: "Build modules: ${{ matrix.modules }} ${{ matrix.comment }}"
5858
runs-on: ${{ inputs.os }}
59-
timeout-minutes: 150
59+
# TODO(SPARK-54466): https://github.com/actions/runner-images/issues/13341
60+
# timeout-minutes: 150
6061
strategy:
6162
fail-fast: false
6263
matrix:
@@ -143,6 +144,8 @@ jobs:
143144
git -c user.name='Apache Spark Test Account' -c user.email='[email protected]' commit -m "Merged commit" --allow-empty
144145
# Cache local repositories. Note that GitHub Actions cache has a 10G limit.
145146
- name: Cache SBT and Maven
147+
# TODO(SPARK-54466): https://github.com/actions/runner-images/issues/13341
148+
if: ${{ runner.os != 'macOS' }}
146149
uses: actions/cache@v4
147150
with:
148151
path: |
@@ -153,6 +156,8 @@ jobs:
153156
restore-keys: |
154157
build-
155158
- name: Cache Maven local repository
159+
# TODO(SPARK-54466): https://github.com/actions/runner-images/issues/13341
160+
if: ${{ runner.os != 'macOS' }}
156161
uses: actions/cache@v4
157162
with:
158163
path: ~/.m2/repository

0 commit comments

Comments
 (0)