Skip to content

Commit

Permalink
Merge branch 'master' into dmivankov-patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
dmivankov authored Oct 16, 2023
2 parents 748feb5 + 29e8e59 commit c21a310
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 208 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 @@ -159,31 +159,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.

6 changes: 3 additions & 3 deletions src/main/scripts/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c21a310

Please sign in to comment.