Skip to content

Commit 92327c5

Browse files
authored
Merge pull request #359 from olafurpg/goodbye-packagehub
2 parents 38b27e7 + a889265 commit 92327c5

File tree

11 files changed

+1
-1226
lines changed

11 files changed

+1
-1226
lines changed

Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

Dockerfile.template

Lines changed: 0 additions & 11 deletions
This file was deleted.

build.sbt

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,6 @@ lazy val cli = project
219219
)
220220
.enablePlugins(NativeImagePlugin, BuildInfoPlugin)
221221
.dependsOn(lsif)
222-
commands +=
223-
Command.command("dockerfile") { s =>
224-
"commitall" :: "reload" :: "packagehub/dockerfileUpdate" :: "publish" :: s
225-
}
226222

227223
def commitAll(): Unit = {
228224
import scala.sys.process._
@@ -236,30 +232,6 @@ commands +=
236232
s
237233
}
238234

239-
lazy val packagehub = project
240-
.in(file("packagehub"))
241-
.settings(
242-
moduleName := "packagehub",
243-
(Compile / mainClass) := Some("com.sourcegraph.packagehub.PackageHub"),
244-
TaskKey[Unit]("dockerfileUpdate") := {
245-
val template = IO.read(file("Dockerfile.template"))
246-
IO.write(file("Dockerfile"), template.replace("VERSION", version.value))
247-
commitAll()
248-
},
249-
libraryDependencies ++=
250-
List(
251-
"com.google.cloud.sql" % "postgres-socket-factory" % "1.3.4",
252-
"com.zaxxer" % "HikariCP" % "5.0.0",
253-
"org.flywaydb" % "flyway-core" % "8.0.1",
254-
"org.postgresql" % "postgresql" % "42.2.23",
255-
"org.rauschig" % "jarchivelib" % "1.2.0",
256-
"org.scalameta" %% "scalameta" % V.scalameta,
257-
"com.lihaoyi" %% "cask" % "0.7.8"
258-
)
259-
)
260-
.enablePlugins(AssemblyPlugin)
261-
.dependsOn(cli)
262-
263235
commands +=
264236
Command.command("nativeImageProfiled") { s =>
265237
val targetroot =
@@ -400,7 +372,7 @@ lazy val unit = project
400372
),
401373
buildInfoPackage := "tests"
402374
)
403-
.dependsOn(plugin, cli, packagehub)
375+
.dependsOn(plugin, cli)
404376
.enablePlugins(BuildInfoPlugin)
405377

406378
lazy val buildTools = project

packagehub/src/main/resources/db/migration/V1__Create_tables.sql

Lines changed: 0 additions & 7 deletions
This file was deleted.

packagehub/src/main/scala/com/sourcegraph/packagehub/EmptyJsonCodec.scala

Lines changed: 0 additions & 22 deletions
This file was deleted.

packagehub/src/main/scala/com/sourcegraph/packagehub/Package.scala

Lines changed: 0 additions & 178 deletions
This file was deleted.

0 commit comments

Comments
 (0)