Skip to content

Commit

Permalink
Drop performancebench (#841)
Browse files Browse the repository at this point in the history
Not in active use, pipelines to run it are also removed as of now
  • Loading branch information
dmivankov authored Oct 16, 2023
1 parent 231dd64 commit 29e8e59
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 205 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ jobs:
if [ ${{github.ref }} == "refs/heads/master" ]; then
LIB_PACKAGE="+fatJarShaded/assembly"
fi
sbt -Dsbt.log.noformat=true "set library/test := {}" $LIB_PACKAGE performancebench/docker:stage
- name: Deploy JAR
if: github.ref == 'refs/heads/master'
env:
Expand Down
25 changes: 0 additions & 25 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -160,31 +160,6 @@ lazy val library = (project in file("."))
buildInfoPackage := "cognite.spark.cdf_spark_datasource"
)

lazy val performancebench = (project in file("performancebench"))
.enablePlugins(JavaAppPackaging, UniversalPlugin, DockerPlugin)
.dependsOn(library)
.settings(
commonSettings,
publish / skip := true,
name := "cdf-spark-performance-bench",
fork := true,
libraryDependencies ++= Seq(
"io.prometheus" % "simpleclient" % prometheusVersion,
"io.prometheus" % "simpleclient_httpserver" % prometheusVersion,
"io.prometheus" % "simpleclient_hotspot" % prometheusVersion,
"org.log4s" %% "log4s" % log4sVersion,
"org.apache.spark" %% "spark-core" % sparkVersion
exclude("org.glassfish.hk2.external", "javax.inject"),
"org.apache.spark" %% "spark-sql" % sparkVersion
exclude("org.glassfish.hk2.external", "javax.inject"),
),
dockerBaseImage := "eu.gcr.io/cognitedata/cognite-jre:8-slim",
dockerCommands ++= Seq(
Cmd("ENV", s"JAVA_MAIN_CLASS=${(Compile / mainClass).value.get}"),
Cmd("ENV", "JAVA_APP_DIR=/opt/docker/lib")
),
)

lazy val fatJarShaded = project
.enablePlugins(AssemblyPlugin)
.dependsOn(library)
Expand Down
5 changes: 0 additions & 5 deletions performancebench/src/main/resources/log4j.properties

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 29e8e59

Please sign in to comment.