You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-56710][INFRA] branch-4.x and branch-4.2 scheduled CI, snapshots, and build_and_test Python split
### What changes were proposed in this pull request?
Scheduled GitHub workflows for `branch-4.x` and `branch-4.2`, snapshot matrix + README badges, `build_and_test` for (`branch-4.2`/`branch-4.x` vs `branch-4.1`), small `merge_spark_pr.py` updates.
### Why are the changes needed?
Spark 4 cut new integration/maintenance branches; CI and snapshots should track them without hand-editing workflow inputs.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually tested some logics. CI will be monitored separately.
### Was this patch authored or co-authored using generative AI tooling?
No,
Closes#55662 from HyukjinKwon/SPARK-56710.
Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
# Build docs first with SKIP_API to ensure they are buildable without requiring any
1188
+
# language docs to be built beforehand.
1189
+
cd docs; SKIP_ERRORDOC=1 SKIP_API=1 bundle exec jekyll build; cd ..
1190
+
if [ -f "./dev/is-changed.py" ]; then
1191
+
# Skip PySpark and SparkR docs while keeping Scala/Java/SQL docs
1192
+
pyspark_modules=`cd dev && python3.12 -c "import sparktestsupport.modules as m; print(','.join(m.name for m in m.all_modules if m.name.startswith('pyspark')))"`
1193
+
if [ `./dev/is-changed.py -m $pyspark_modules` = false ]; then export SKIP_PYTHONDOC=1; fi
1194
+
if [ `./dev/is-changed.py -m sparkr` = false ]; then export SKIP_RDOC=1; fi
1195
+
fi
1196
+
export PYSPARK_DRIVER_PYTHON=python3.12
1197
+
export PYSPARK_PYTHON=python3.12
1198
+
# Print the values of environment variables `SKIP_ERRORDOC`, `SKIP_SCALADOC`, `SKIP_PYTHONDOC`, `SKIP_RDOC` and `SKIP_SQLDOC`
0 commit comments