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 0f2e9fc [SPARK-37833][INFRA][FOLLOW-UP] Run checking modules of
precondition only in forked repository
0f2e9fc is described below
commit 0f2e9fcc695274f9fa2a0d8be80f3c22db6b7b95
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Fri Jan 7 19:05:38 2022 +0900
[SPARK-37833][INFRA][FOLLOW-UP] Run checking modules of precondition only
in forked repository
### What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/35121. We
should run "Check all modules" in precondition job only in the forked
repository because `is-changed.py` requires `APACHE_SPARK_REF` to be set:
https://github.com/apache/spark/blob/master/dev/is-changed.py#L60
### Why are the changes needed?
To fix broken build in main branch. PRs are not affected.
### Does this PR introduce _any_ user-facing change?
No, dev-only.
### How was this patch tested?
Should be merged to test.
Closes #35133 from HyukjinKwon/SPARK-37833.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
.github/workflows/build_and_test.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index 250cd72..2c57a5d 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -116,6 +116,7 @@ jobs:
git -c user.name='Apache Spark Test Account' -c
user.email='[email protected]' merge --no-commit --progress --squash
FETCH_HEAD
git -c user.name='Apache Spark Test Account' -c
user.email='[email protected]' commit -m "Merged commit"
- name: Check all modules
+ if: github.repository != 'apache/spark'
id: set-outputs
run: |
build=`./dev/is-changed.py -m
avro,build,catalyst,core,docker-integration-tests,examples,graphx,hadoop-cloud,hive,hive-thriftserver,kubernetes,kvstore,launcher,mesos,mllib,mllib-local,network-common,network-shuffle,pyspark-core,pyspark-ml,pyspark-mllib,pyspark-pandas,pyspark-pandas-slow,pyspark-resource,pyspark-sql,pyspark-streaming,repl,sketch,spark-ganglia-lgpl,sparkr,sql,sql-kafka-0-10,streaming,streaming-kafka-0-10,streaming-kinesis-asl,tags,unsafe,yarn`
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]