Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit 75e31a9

Browse files
committed
Adding to modules.py and SparkBuild.scala
1 parent f6fdd6a commit 75e31a9

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

dev/sparktestsupport/modules.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,14 @@ def __hash__(self):
531531
sbt_test_goals=["mesos/test"]
532532
)
533533

534+
kubernetes = Module(
535+
name="kubernetes",
536+
dependencies=[],
537+
source_file_regexes=["resource-managers/kubernetes/core"],
538+
build_profile_flags=["-Pkubernetes"],
539+
sbt_test_goals=["kubernetes/test"]
540+
)
541+
534542
# The root module is a dummy module which is used to run all of the tests.
535543
# No other modules should directly depend on this module.
536544
root = Module(

project/SparkBuild.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ object BuildCommons {
5353
"tags", "sketch", "kvstore"
5454
).map(ProjectRef(buildLocation, _)) ++ sqlProjects ++ streamingProjects
5555

56-
val optionallyEnabledProjects@Seq(mesos, yarn,
56+
val optionallyEnabledProjects@Seq(kubernetes, mesos, yarn,
5757
streamingFlumeSink, streamingFlume,
5858
streamingKafka, sparkGangliaLgpl, streamingKinesisAsl,
5959
dockerIntegrationTests, hadoopCloud) =
60-
Seq("mesos", "yarn",
60+
Seq("kubernetes", "mesos", "yarn",
6161
"streaming-flume-sink", "streaming-flume",
6262
"streaming-kafka-0-8", "ganglia-lgpl", "streaming-kinesis-asl",
6363
"docker-integration-tests", "hadoop-cloud").map(ProjectRef(buildLocation, _))

0 commit comments

Comments
 (0)