Skip to content

Commit

Permalink
publishM2 only for Spark Master
Browse files Browse the repository at this point in the history
  • Loading branch information
longvu-db committed Sep 23, 2024
1 parent 211da1f commit 713edef
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ lazy val connectCommon = (project in file("spark-connect/common"))
projectName = "delta-connect-common",
emptyValue = ()
).value,
publishM2 := runTaskOnlyOnSparkMaster(
task = publishM2,
taskName = "publishM2",
projectName = "delta-connect-common",
emptyValue = ()
).value,
assembly := runTaskOnlyOnSparkMaster(
task = assembly,
taskName = "assembly",
Expand Down Expand Up @@ -326,6 +332,12 @@ lazy val connectClient = (project in file("spark-connect/client"))
projectName = "delta-connect-client",
emptyValue = ()
).value,
publishM2 := runTaskOnlyOnSparkMaster(
task = publishM2,
taskName = "publishM2",
projectName = "delta-connect-client",
emptyValue = ()
).value,
assembly := runTaskOnlyOnSparkMaster(
task = assembly,
taskName = "assembly",
Expand Down Expand Up @@ -434,6 +446,12 @@ lazy val connectServer = (project in file("spark-connect/server"))
projectName = "delta-connect-server",
emptyValue = ()
).value,
publishM2 := runTaskOnlyOnSparkMaster(
task = publishM2,
taskName = "publishM2",
projectName = "delta-connect-server",
emptyValue = ()
).value,
assembly := runTaskOnlyOnSparkMaster(
task = assembly,
taskName = "assembly",
Expand Down

0 comments on commit 713edef

Please sign in to comment.