forked from DataBiosphere/hca-ingest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
45 lines (41 loc) · 1.41 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import _root_.io.circe.Json
lazy val `hca-ingest` = project
.in(file("."))
.aggregate(`hca-schema`, `hca-transformation-pipeline`, `hca-orchestration-workflow`)
.settings(publish / skip := true)
lazy val `hca-schema` = project
.in(file("schema"))
.enablePlugins(MonsterJadeDatasetPlugin)
.settings(
jadeTablePackage := "org.broadinstitute.monster.hca.jadeschema.table",
jadeTableFragmentPackage := "org.broadinstitute.monster.hca.jadeschema.fragment",
jadeStructPackage := "org.broadinstitute.monster.hca.jadeschema.struct"
)
lazy val `hca-transformation-pipeline` = project
.in(file("transformation"))
.enablePlugins(MonsterScioPipelinePlugin)
.settings(
resolvers += "jitpack".at("https://jitpack.io"),
libraryDependencies ++= Seq(
"com.lihaoyi" %% "requests" % "0.5.1",
"io.circe" %% "circe-json-schema" % "0.1.0"
)
)
.dependsOn(`hca-schema`)
lazy val `hca-orchestration-workflow` = project
.in(file("orchestration"))
.enablePlugins(MonsterHelmPlugin)
.settings(
helmChartOrganization := "DataBiosphere",
helmChartRepository := "hca-ingest",
helmInjectVersionValues := { (baseValues, version) =>
val schemaVersionValues = Json.obj(
"argoTemplates" -> Json.obj(
"diffBQTable" -> Json.obj(
"schemaImageVersion" -> Json.fromString(version)
)
)
)
baseValues.deepMerge(schemaVersionValues)
}
)